Makefile problem
- From: johannes_vuori web de
- To: gtkmm-list gnome org
- Subject: Makefile problem
- Date: Fri, 11 Aug 2006 12:03:37 +0200
Hi,
I want to make a very simple programm (hence a very simple Makefile). But I have a poblem:
(this Makefile works, and the programm translates nicely)
#############
main: main.cc
g++ `gtkmm-config --cflags --libs` main.cc
##################
But as soon as I use this:
###################
main: functions/main.o functions/graphics/grph_init.o
g++ -o main functions/main.o functions/graphics/graph_init.o
main.o: main.cpp functions/needed/main.h
g++ -c functions/main.cpp
grph_init.o: grph_init.cpp
g++ `gtkmm-config --cflags --libs` functions/graphics/grph_init.cpp
##################
it gives me a error, that is identical to the one it would produce if I would leave the `gtkmm-config --cflags --libs` away from the first Makefile.
Any help would be very appreciated.
Johannes
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000071
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]