EXTRA_CFLAGS:=$(EXTRA_CFLAGS) -I $(srcroot) -I $(srcdir)/../.. -I $(objroot)

# do not add libcommands.a here - commands may depend on libarch, but not 
# vice verca.
libs			:=	../libarch.a \
				../../libawk/libawk.a \
				../../libdate/libdate.a \
				../../libfsutils/libfsutils.a \
				$(objroot)/hackerlab/libhackerlab/libhackerlab.a \
				-lneon \
				-lm

include $(makefiles)/unit-tests.mk

tests-timestamp: $(test-progs) $(test-scripts)
	set -e ; \
	for s in $(test-progs) ; do \
	  echo -n ./$$s; \
	  if ! ./$$s ; then \
	    echo '...failed'; \
	    false; \
	  fi; \
	  echo ...passed; \
	done
	for s in $(test-scripts) ; do \
	  $(cfg__posix_shell) $$s; \
	done
	touch tests-timestamp


syntax highlighted by Code2HTML, v. 0.9.1