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
|
|
@ -123,7 +123,7 @@ AFILES = configure Makefile.in configure.ac config.h.in config.sub config.gues
|
|||
MISC = Makefile.std LICENSE.TXT rogue54.sln rogue54.vcproj rogue.spec \
|
||||
rogue.png rogue.desktop
|
||||
|
||||
.SUFFIXES: .obj
|
||||
.SUFFIXES: .obj .o .c
|
||||
|
||||
.c.obj:
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) /c $*.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue