Ensure cheat is built with debug options when 'make debug' is given.
[open-adventure.git] / Makefile
index 91ec3b672c9530ebd37f6d9acaf4003bcffd6df2..8819291dc203913d57b96b0dad892ba4e7bedceb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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: