Proof of concept for Section 3 report generator.
[open-adventure.git] / Makefile
index 55e4ace2f51c31c4f0a77f1ca3edb95b074fe743..9021f686d11ef7980b01c18c29a42aa8cc722c9c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -59,13 +59,15 @@ saveresume.o:       advent.h database.h common.h newdb.h
 
 common.o:      common.h
 
+dungeon.o:     common.h newdb.h
+
 newdb.o:       newdb.c newdb.h
        $(CC) $(CCFLAGS) $(DBX) -c newdb.c
 
 database.h: dungeon
        ./dungeon
 
-newdb.c newdb.h:
+newdb.c newdb.h: newdungeon.py adventure.yaml
        python3 newdungeon.py
 
 linenoise.o:   linenoise/linenoise.h
@@ -115,7 +117,7 @@ indent:
 release: advent-$(VERS).tar.gz advent.html history.html hints.html notes.html
        shipper version=$(VERS) | sh -e -x
 
-refresh: advent.html
+refresh: advent.html notes.html history.html
        shipper -N -w version=$(VERS) | sh -e -x
 
 dist: advent-$(VERS).tar.gz