Oops. Forgot the usleep.c file.
[oweals/busybox.git] / tests / Makefile
1 # busybox/tests/Makefile - Run through all defined tests.
2 # ------------------------
3 # Copyright (C) 2000  Karl M. Hegbloom <karlheg@debian.org>  GPL
4
5 all:: message_header
6
7 message_header:
8         @echo
9         @echo BusyBox Test Suite.
10         @echo
11
12 clean::
13
14 distclean: clean
15
16 .PHONY: all clean distclean message_header
17
18 include $(wildcard *_tests.mk)
19
20 BBL := $(shell pushd .. >/dev/null &&           \
21                  ${MAKE} busybox.links >/dev/null && \
22                popd >/dev/null &&               \
23                cat ../busybox.links |           \
24                  sed -e 's,.*/\(.*\)$$,\1,')
25
26 ../busybox:
27         cd .. && ${MAKE} busybox
28
29 ${BBL}: ../busybox
30         rm -f $@
31         ln ../busybox $@