Named unnamed actions and specials
[open-adventure.git] / Makefile
index 6724a3b657bdf8deeffd6d887c63498b03d3acf6..91ec3b672c9530ebd37f6d9acaf4003bcffd6df2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ dungeon.o:    dungeon.c dungeon.h
        $(CC) $(CCFLAGS) $(DBX) -c dungeon.c
 
 dungeon.c dungeon.h: make_dungeon.py adventure.yaml
-       python3 make_dungeon.py
+       ./make_dungeon.py
 
 clean:
        rm -f *.o advent cheat *.html *.gcno *.gcda
@@ -121,3 +121,6 @@ debug: CCFLAGS += -O0 --coverage -ggdb
 debug: linty
 debug: cheat
 
+CSUPPRESSIONS = --suppress=missingIncludeSystem --suppress=invalidscanf
+cppcheck:
+       cppcheck -I. --template gcc --enable=all $(CSUPPRESSIONS) *.[ch]