Re: building a makefile (2 questions)



eduardo fiss beloni wrote:
and second; I want to build a makefile. At this
moment, my compilation like this:

g++ one_d.cpp growtharea.cpp mainwindow.cpp -o one_d
`pkg-config gtkmm-2.0 --cflags --libs`

can anyone give me a simple makefile example with
gtkmm??

All you need is :

CXXFLAGS += -g `pkg-config --cflags gtkmm-2.4`
LDLIBS += `pkg-config --libs gtkmm-2.4`




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]