X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Makefile;h=91ec3b672c9530ebd37f6d9acaf4003bcffd6df2;hb=342c27494d867c32379a34effa99bbe6422c61b3;hp=6724a3b657bdf8deeffd6d887c63498b03d3acf6;hpb=d23111dabab46a8bcdf7e453ec099e4521d1cad6;p=open-adventure.git diff --git a/Makefile b/Makefile index 6724a3b..91ec3b6 100644 --- 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]