From 2a5bed58ce155008814970fadfd140aa5962a0e1 Mon Sep 17 00:00:00 2001 From: fluffymormegil Date: Fri, 16 Mar 2012 22:18:05 +0000 Subject: [PATCH] Changing makefile to reflect that-which-is-new --- Makefile | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Makefile b/Makefile index 72e1242..b1982f8 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,8 @@ OBJS=bmagic.o combat.o display.o main.o map.o misc.o monsters.o mon2.o objects.o GAME=cavechop MAJVERS=1 MINVERS=0 -PRODUCTION_CFLAGS=-c -Wall -Wstrict-prototypes -Wwrite-strings -Wmissing-prototypes -Wredundant-decls -Wunreachable-code -DMAJVERS=$(MAJVERS) -DMINVERS=$(MINVERS) -DEVELOPMENT_CFLAGS=-c -Wall -Wstrict-prototypes -Wwrite-strings -Wmissing-prototypes -Wredundant-decls -Wunreachable-code -Werror -DMAJVERS=$(MAJVERS) -DMINVERS=$(MINVERS) +PRODUCTION_CFLAGS=-c -Wall -Wstrict-prototypes -Wwrite-strings -Wmissing-prototypes -Wno-unused-but-set-variable -Wredundant-decls -Wunreachable-code -DMAJVERS=$(MAJVERS) -DMINVERS=$(MINVERS) +DEVELOPMENT_CFLAGS=-c -g -Wall -Wstrict-prototypes -Wwrite-strings -Wmissing-prototypes -Wno-unused-but-set-variable -Wredundant-decls -Wunreachable-code -Werror -DMAJVERS=$(MAJVERS) -DMINVERS=$(MINVERS) CFLAGS=$(DEVELOPMENT_CFLAGS) LINKFLAGS=-lpanel -lncurses -g ARCHIVEDIR=cavedir7drl @@ -24,30 +24,30 @@ archive: clean tar czf $(ARCHIVEDIR).tgz $(ARCHIVEDIR) clean: - -rm -f *.o $(GAME) dunbash.log dunbash.sav.gz + -rm -f *.o $(GAME) cavechop.log cavechop.sav.gz -display.o: display.c dunbash.h +display.o: display.c cavechop.h -main.o: main.c combat.h dunbash.h monsters.h +main.o: main.c combat.h cavechop.h monsters.h -combat.o: combat.c combat.h dunbash.h +combat.o: combat.c combat.h cavechop.h -u.o: u.c combat.h dunbash.h +u.o: u.c combat.h cavechop.h -permobj.o: permobj.c dunbash.h +permobj.o: permobj.c cavechop.h -map.o: map.c dunbash.h +map.o: map.c cavechop.h -permons.o: permons.c dunbash.h +permons.o: permons.c cavechop.h -pmon2.o: pmon2.c dunbash.h monsters.h +pmon2.o: pmon2.c cavechop.h monsters.h -objects.o: objects.c dunbash.h +objects.o: objects.c cavechop.h -monsters.o: monsters.c dunbash.h monsters.h +monsters.o: monsters.c cavechop.h monsters.h -mon2.o: mon2.c dunbash.h bmagic.h monsters.h +mon2.o: mon2.c cavechop.h bmagic.h monsters.h -vector.o: vector.c dunbash.h +vector.o: vector.c cavechop.h -bmagic.o: bmagic.c dunbash.h bmagic.h +bmagic.o: bmagic.c cavechop.h bmagic.h -- 2.11.0