(CFLAGS, CPPFLAGS): POSIX make has only CFLAGS. Fold CPPFLAGS into

CFLAGS.  Use CFLAGS when linking, to match POSIX make implicit rule.
This commit is contained in:
Markus Armbruster 2006-03-18 17:46:32 +00:00
parent 62b041efb5
commit ae6acc09ce

View file

@ -33,8 +33,7 @@
# #
CC = @CC@ CC = @CC@
CFLAGS = @CFLAGS@ CFLAGS = @CFLAGS@ @CPPFLAGS@ @DEFS@ -I.
CPPFLAGS = @CPPFLAGS@ @DEFS@ -I.
LDFLAGS = @LDFLAGS@ LDFLAGS = @LDFLAGS@
LIBS = @LIBS@ LIBS = @LIBS@
E = @EXEEXT@ E = @EXEEXT@
@ -59,7 +58,7 @@ saveargv.$O servcmd.$O serverio.$O tags.$O termio.$O termlib.$O
all: $(prog) all: $(prog)
$(prog): $(obj) $(prog): $(obj)
$(CC) $(LDFLAGS) -o empire $(obj) $(LIBS) $(CC) $(CFLAGS) $(LDFLAGS) -o empire $(obj) $(LIBS)
clean: clean:
rm -f $(obj) $(prog) rm -f $(obj) $(prog)