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:
John "Elwin" Edwards 2016-03-08 19:45:41 -05:00
parent fece552183
commit e30aa0e491
7 changed files with 24 additions and 5 deletions

View file

@ -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