Mercurial > hg > early-roguelike
changeset 116:97f8fdf9595c
Makefiles: don't set defaults for CFLAGS.
CFLAGS is now empty by default. If its value must be set, it should be
done in the command line for make.
author | John "Elwin" Edwards |
---|---|
date | Sat, 29 Mar 2014 09:45:33 -0700 |
parents | 1cf517d5d2a8 |
children | 2c62bd925c17 |
files | arogue5/Makefile.in rogue3/Makefile.in rogue4/Makefile.in rogue5/Makefile.in srogue/Makefile.in |
diffstat | 5 files changed, 6 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/arogue5/Makefile.in Fri Mar 28 15:51:43 2014 -0700 +++ b/arogue5/Makefile.in Sat Mar 29 09:45:33 2014 -0700 @@ -53,7 +53,7 @@ CC = gcc CPPFLAGS =@DEFS@ -CFLAGS= -g +CFLAGS= CRLIB = -lcurses RM = rm -f TAR = tar
--- a/rogue3/Makefile.in Fri Mar 28 15:51:43 2014 -0700 +++ b/rogue3/Makefile.in Sat Mar 29 09:45:33 2014 -0700 @@ -55,7 +55,7 @@ CC = gcc CPPFLAGS =@DEFS@ ROPTS = -COPTS = -O3 +COPTS = CFLAGS= $(COPTS) $(ROPTS) LIBS = -lcurses RM = rm -f
--- a/rogue4/Makefile.in Fri Mar 28 15:51:43 2014 -0700 +++ b/rogue4/Makefile.in Sat Mar 29 09:45:33 2014 -0700 @@ -16,15 +16,11 @@ CC = @CC@ LIBS = @LIBS@ -#SCOREFILE=\"/usr/local/games/roguelike/rogue4.scr\" SCOREFILE=@SCOREFILE@ -#LOGFILE=\"/usr/local/games/roguelike/rogue4.log\" LOGFILE=@LOGFILE@ -#SAVEDIR=\"/usr/local/games/roguelike/rogue4save/\" SAVEDIR=@SAVEDIR@ -#LOCKFILE=\"/usr/local/games/roguelike/rogue4save/rogue4.lck\" LOCKFILE=@LOCKFILE@ -#GROUPOWNER=games + GROUPOWNER=@GROUPOWNER@ DESTDIR= @@ -50,7 +46,7 @@ mach_dep.c xcrypt.c mdport.c MISC= Makefile LICENSE.TXT rogue.6 rogue.me -CFLAGS= -O3 +CFLAGS= CPPFLAGS=@DEFS@ CRLIB = -lcurses RM = rm -f