path: root/defs
diff options
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-03 02:57:11 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-03 02:57:11 (GMT)
commit819e1756adfd78e25492a9492771ba4390c2af48 (patch)
treec60bdcc028b6eed23f74357e1aa7fabc7190803e /defs
parent4208d09b1a99885b7be6fe6b215ea7798c4f297f (diff) check targets depend on main
* defs/ (TEST_DEPENDS): all check targets need the main, programs and extensions have been built. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'defs')
1 files changed, 2 insertions, 2 deletions
diff --git a/defs/ b/defs/
index 96bb74a..86fb1bb 100644
--- a/defs/
+++ b/defs/
@@ -1,13 +1,13 @@
# -*- makefile-gmake -*-
gnumake = yes
+CHECK_TARGETS := exam love check%
TEST_TARGETS := $(filter check test check% test% btest%,$(MAKECMDGOALS))
TEST_TARGETS += $(subst check,test-all,$(patsubst check-%,test-%,$(TEST_TARGETS)))
TEST_TARGETS := $(patsubst test-%,yes-test-%,$(patsubst btest-%,yes-btest-%,$(TEST_TARGETS)))
TEST_DEPENDS := $(if $(TEST_TARGETS),$(filter all main exts,$(MAKECMDGOALS)))
-TEST_DEPENDS += $(if $(filter check%,$(MAKECMDGOALS)),main)
+TEST_DEPENDS += $(if $(filter $(CHECK_TARGETS),$(MAKECMDGOALS)),main)
TEST_DEPENDS += $(if $(filter all,$(INSTALLDOC)),docs)
-CHECK_TARGETS := exam love check%
ifneq ($(filter -O0 -Od,$(optflags)),)
override XCFLAGS := $(filter-out -D_FORTIFY_SOURCE=%,$(XCFLAGS))