diff options
author | Christopher Li <sparse@chrisli.org> | 2017-09-01 10:14:21 -0400 |
---|---|---|
committer | Christopher Li <sparse@chrisli.org> | 2017-10-06 18:01:56 -0400 |
commit | d7b626ac9ef5373edf892d8f49307b1b2f528398 (patch) | |
tree | af8c6ad6fda1279beb032f1968efeafc4109c0f5 | |
parent | b3da1bddd27f689e4cc57e52a5d9bb2c1e4fd20f (diff) | |
download | sparse-debug-target-v4.tar.gz |
Makefile: introduce minimal targetdebug-target-v4
"minimal" target will only build program used by
the test-suite.
The "all" target will build both release and debug.
The default target is "minimal"
Signed-off-by: Christopher Li <sparse@chrisli.org>
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -196,10 +196,10 @@ ALL_PROGRAMS := $(REL_PROGRAMS) $(DBG_PROGRAMS) INST_PROGRAMS += $(REL_PROGRAMS) \ $(filter-out $(addprefix dbgbuild/,$(REL_PROGRAMS)),$(DBG_PROGRAMS)) -all: $(REL_PROGRAMS) sparse.pc - +minimal: $(REL_PROGRAMS) release: $(PROGRAMS) debug: $(DBG_PROGRAMS) +all: release debug sparse.pc all-installable: $(INST_PROGRAMS) $(LIBS) $(LIB_H) sparse.pc @@ -278,7 +278,7 @@ dist: fi git archive --format=tar --prefix=sparse-$(VERSION)/ HEAD^{tree} | gzip -9 > sparse-$(VERSION).tar.gz -check: all debug +check: all $(Q)cd validation && ./test-suite clean-check: |