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