Changing makefile to reflect that-which-is-new
authorfluffymormegil <mpread@chiark.greenend.org.uk>
Fri, 16 Mar 2012 22:18:05 +0000 (22:18 +0000)
committerfluffymormegil <mpread@chiark.greenend.org.uk>
Fri, 16 Mar 2012 22:18:05 +0000 (22:18 +0000)
Makefile

index 72e1242..b1982f8 100644 (file)
--- 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