X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Makefile;h=ba2c9ef318469c61fd5af169e75ce46c0443dfc3;hb=refs%2Fmerge-requests%2F39%2Fhead;hp=03c9a3d35fa1022496de502d4a69b7f028b167d5;hpb=0f126b0cb5f8539f456f2d7f2c06d8f32c2491c2;p=open-adventure.git diff --git a/Makefile b/Makefile index 03c9a3d..ba2c9ef 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Makefile for the open-source release of adventure 2.5 CC?=gcc -CCFLAGS=-std=c99 -O0 --coverage +CCFLAGS=-std=c99 LIBS= UNAME_S := $(shell uname -s) ifeq ($(UNAME_S),Linux) @@ -41,6 +41,8 @@ database.c database.h: compile adventure.text ./compile $(CC) $(CCFLAGS) $(DBX) -c database.c +html: index.html advent.html history.html hints.html + clean: rm -f *.o advent *.html advent.6 database.[ch] compile *.gcno *.gcda cd tests; $(MAKE) --quiet clean @@ -66,3 +68,6 @@ release: advent-$(VERS).tar.gz advent.html refresh: advent.html shipper -N -w version=$(VERS) | sh -e -x + +debug: CCFLAGS += -O0 --coverage +debug: advent