В Thu, 26 Jun 2008 23:14:55 +0200, Daniel Leidert написа: > or tell him to better use one of the following: > > DEFS += -DVERSION="\"1.00\""
This won't work. The objects are built by make's built-in implicit rules, and this variable is not used there: COMPILE.cc = $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c Maybe it is OK for other make implementations (never used them, thank goodness for that), but it will definitely have no effect with GNU make. > AM_CPPFLAGS += -DVERSION="\"1.00\"" > foo_CPPFLAGS += -DVERSION="\"1.00\"" ... These are Automake-specific and `proda' is not using Automake, not even Autoconf. It has one simple hand-written makefile. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]