Ensure cheat is built with debug options when 'make debug' is given.
authorJason S. Ninneman <jsn@mbar.us>
Sat, 15 Jul 2017 02:45:17 +0000 (19:45 -0700)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 17 Jul 2017 17:56:52 +0000 (13:56 -0400)
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: advent
+linty: advent cheat
 
 debug: CCFLAGS += -O0 --coverage -ggdb
 debug: linty
-debug: cheat
 
 CSUPPRESSIONS = --suppress=missingIncludeSystem --suppress=invalidscanf
 cppcheck: