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.
This commit is contained in:
John "Elwin" Edwards 2014-03-29 09:45:33 -07:00
parent a8b96bbc3e
commit 9a8022c683
5 changed files with 6 additions and 10 deletions

View file

@ -53,7 +53,7 @@ DOCS= arogue58.doc arogue58.html
CC = gcc
CPPFLAGS =@DEFS@
CFLAGS= -g
CFLAGS=
CRLIB = -lcurses
RM = rm -f
TAR = tar

View file

@ -55,7 +55,7 @@ MISC = Makefile $(MISC_C) LICENSE.TXT $(PROGRAM).sln $(PROGRAM).vcproj $(DOCS)\
CC = gcc
CPPFLAGS =@DEFS@
ROPTS =
COPTS = -O3
COPTS =
CFLAGS= $(COPTS) $(ROPTS)
LIBS = -lcurses
RM = rm -f

View file

@ -16,15 +16,11 @@ PROGRAM=@PROGRAM@
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 @@ CFILES= vers.c extern.c armor.c chase.c command.c daemon.c daemons.c \
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

View file

@ -26,7 +26,7 @@ O=o
CC = @CC@
#CFLAGS=-O2
CFLAGS= @CFLAGS@
CFLAGS=
#LIBS=-lcurses
LIBS = @LIBS@

View file

@ -42,7 +42,7 @@ CFILES= vers.c armor.c chase.c command.c daemon.c daemons.c disply.c encumb.c \
MISC= Makefile LICENSE.TXT rogue.nr
CC = gcc
CFLAGS= -g
CFLAGS=
CPPFLAGS=@DEFS@
CRLIB = -lcurses
RM = rm -f