Peter Eisentraut wrote: > Hiroshi Inoue writes: > > > For example the following line > > CFLAGS+= -DFRONTEND -I$(srcdir) > > in makefiles doesn't work currently. > > > > I found the recent change in Makefile.global.in. > > ifeq ($(GCC), yes) > > override CFLAGS += -Wall -Wmissing-prototypes -Wmissing-declarations > > endif > > Seems like a problem in make. What versions are you using? > I tried the following makefile in cygwin and linux 2.0.36. [makefile] # override CFLAGS += -DDEFINE1 CFLAGS += -DDEFINE2 all: a.o [cygwin] $ make -v GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for i686-pc-cygwin Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. ... $ make gcc -DDEFINE1 -c -o a.o a.c a.c:1: parse error before `{' make: *** [a.o] Error 1 [linux] $ make -v GNU Make version 3.76.1, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc. ... $ make cc -DDEFINE1 -c a.c -o a.o a.c:1: parse error before `{' make: *** [a.o] Error 1 -DDEFINE2 is expanded in neither case. Regards. Hiroshi Inoue

Reply via email to