Mercurial > hg > early-roguelike
diff rogue5/Makefile.in @ 232:bac2c81fec78
Makefiles: don't rely on built-in implicit rules.
Not all make implementations will use CPPFLAGS when compiling C files.
author | John "Elwin" Edwards |
---|---|
date | Tue, 08 Mar 2016 19:45:41 -0500 |
parents | 4960be2c8f3e |
children | 0b3d1b38998f |
line wrap: on
line diff
--- a/rogue5/Makefile.in Sun Mar 06 17:09:17 2016 -0500 +++ b/rogue5/Makefile.in Tue Mar 08 19:45:41 2016 -0500 @@ -123,7 +123,7 @@ 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