hush/tests/Makefile
Glenn L McGrath 1cb2622f9c Fix a bug where make clean complained about having both : and :: entries.
Remove tester.log on make clean
Patch by Arthur Othieno
2003-09-10 23:47:10 +00:00

37 lines
704 B
Makefile

# busybox/tests/Makefile - Run through all defined tests.
# ------------------------
# Copyright (C) 2000 Karl M. Hegbloom <karlheg@debian.org> GPL
all:: message_header
message_header:
@echo
@echo BusyBox Test Suite.
@echo
(cd ..; tests/busybox.REGRESS.sh)
clean::
rm -f *.o
rm -f tester.log
distclean: clean
.PHONY: all clean distclean message_header
include $(wildcard *_tests.mk)
BBL := $(shell pushd .. >/dev/null && \
${MAKE} busybox.links >/dev/null && \
popd >/dev/null && \
cat ../busybox.links | \
sed -e 's,.*/\(.*\)$$,\1,')
../busybox:
cd .. && ${MAKE} busybox
${BBL}: ../busybox
rm -f $@
ln ../busybox $@
syslog_test: syslog_test.c