acme/testing/cpus/Makefile
marcobaye 58b04ba77c more test files
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@342 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-18 13:50:32 +00:00

18 lines
311 B
Makefile

ACMEFLAGS = -v0
CPUS := $(subst .a,,$(subst test-,,$(wildcard test-*.a)))
FILES = $(foreach N,$(CPUS),$(N).exp)
.SILENT:
%.exp: test-%.a
echo "Testing CPU:" $(subst .exp,,$@)
acme $(ACMEFLAGS) -o test.o $<
cmp test.o out-$@
$(RM) test.o
echo "Ok."
all: $(FILES)
echo
echo "Testing CPUs: PASSED"
echo