projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensure cheat is built with debug options when 'make debug' is given.
[open-adventure.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 62ec64a149d0049878f01a15fe134b21f954ad91..8819291dc203913d57b96b0dad892ba4e7bedceb 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
$(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
clean:
rm -f *.o advent cheat *.html *.gcno *.gcda
@@
-115,11
+115,10
@@
linty: CCFLAGS += -Wwrite-strings
linty: CCFLAGS += -Wunreachable-code
linty: CCFLAGS += -Winit-self
linty: CCFLAGS += -Wpointer-arith
linty: CCFLAGS += -Wunreachable-code
linty: CCFLAGS += -Winit-self
linty: CCFLAGS += -Wpointer-arith
-linty: advent
+linty: advent
cheat
debug: CCFLAGS += -O0 --coverage -ggdb
debug: linty
debug: CCFLAGS += -O0 --coverage -ggdb
debug: linty
-debug: cheat
CSUPPRESSIONS = --suppress=missingIncludeSystem --suppress=invalidscanf
cppcheck:
CSUPPRESSIONS = --suppress=missingIncludeSystem --suppress=invalidscanf
cppcheck: