Makefiles: don't rely on built-in implicit rules.
Not all make implementations will use CPPFLAGS when compiling C files.
This commit is contained in:
parent
fece552183
commit
e30aa0e491
7 changed files with 24 additions and 5 deletions
|
|
@ -68,6 +68,8 @@ NL=
|
|||
#MACHDEP= -DMAXLOAD=40 -DLOADAV -DCHECKTIME=4
|
||||
MACHDEP=
|
||||
|
||||
.SUFFIXES: .c .o
|
||||
|
||||
.c.o:
|
||||
@echo $(CC) -c $(CPPFLAGS) $(CFLAGS) $*.c
|
||||
@$(CC) -c $(CPPFLAGS) $(CFLAGS) $*.c -o $*.o
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue