Reconfigure the CI pipeline to deploy more static HTML content.
[open-adventure.git] / Makefile
index 03c9a3d35fa1022496de502d4a69b7f028b167d5..ba2c9ef318469c61fd5af169e75ce46c0443dfc3 100644 (file)
--- 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