summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-01-19 12:46:41 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-01-19 12:46:41 +0000
commite90d34e571562884b239bc59af77dabbcfaf4b8a (patch)
treefebf0af1fe0cb5ad38c27728d451efad4a3cb194 /Makefile
parent05d51102d98dddc7a37f7d02b63b2b74e2367295 (diff)
dahdi-tools: Delete test binaries on 'make clean'
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5707 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 241f1fb..756f462 100644
--- a/Makefile
+++ b/Makefile
@@ -114,6 +114,7 @@ BINS:=fxotune fxstest sethdlc dahdi_cfg dahdi_diag dahdi_monitor dahdi_speed dah
BINS:=$(filter-out $(MENUSELECT_UTILS),$(BINS))
MAN_PAGES:=$(wildcard $(BINS:%=doc/%.8))
+TEST_BINS:=patgen pattest patlooptest hdlcstress hdlctest hdlcgen hdlcverify timertest
# All the man pages. Not just installed ones:
GROFF_PAGES := $(wildcard doc/*.8 xpp/*.8)
GROFF_HTML := $(GROFF_PAGES:%=%.html)
@@ -143,7 +144,7 @@ version.c: FORCE
fi
@rm -f $@.tmp
-tests: patgen pattest patlooptest hdlcstress hdlctest hdlcgen hdlcverify timertest
+tests: $(TEST_BINS)
$(UTILS): %: %.o
@@ -309,7 +310,7 @@ update:
clean:
-@$(MAKE) -C menuselect clean
- rm -f $(BINS)
+ rm -f $(BINS) $(TEST_BINS)
rm -f *.o dahdi_cfg tzdriver sethdlc
rm -f $(LTZ_SO) $(LTZ_A) *.lo
@for dir in $(SUBDIRS_UTILS_ALL); do \