acme/testing/auto/Makefile

16 lines
206 B
Makefile
Raw Permalink Normal View History

ACMEFLAGS = -v0
FILES := $(wildcard *.a)
TESTS = $(subst .a,.test,$(FILES))
.SILENT:
%.test: %.a
echo "Test:" $<
acme $(ACMEFLAGS) $<
echo "Ok."
all: $(TESTS)
echo
echo "Self-tests: PASSED"
echo