]> git.sesse.net Git - betaftpd/commitdiff
Makefile now honours CPPFLAGS (C preprocessor flags).
authorsgunderson <sgunderson>
Sat, 26 May 2001 20:27:11 +0000 (20:27 +0000)
committersgunderson <sgunderson>
Sat, 26 May 2001 20:27:11 +0000 (20:27 +0000)
Makefile.in

index 95404008acc8c9fe7e73c4ceba87f15dda663aae..922a10f3161dc8936b9008ce1525d4f3236566ff 100644 (file)
@@ -17,9 +17,9 @@ CPPS        = ${OBJS:.o=.i}
 
 # Since we use VPATH, override .c.o rule
 .c.o:  $*.c config.h
-       $(CC) $(REAL_CFLAGS) -c @srcdir@/$*.c
+       $(CC) $(REAL_CFLAGS) $(CPPFLAGS) -c @srcdir@/$*.c
 .c.s:  $*.c config.h
-       $(CC) $(REAL_CFLAGS) -S @srcdir@/$*.c
+       $(CC) $(REAL_CFLAGS) $(CPPFLAGS) -S @srcdir@/$*.c
 
 # deps
 cmds.o:                @srcdir@/cmds.c @srcdir@/ftpd.h @srcdir@/cmds.h @srcdir@/nonroot.h @srcdir@/dcache.h config.h