# 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)
./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
refresh: advent.html
shipper -N -w version=$(VERS) | sh -e -x
+
+debug: CCFLAGS += -O0 --coverage
+debug: advent