mirror of
https://github.com/uffejakobsen/acme.git
synced 2024-11-29 04:49:20 +00:00
58b04ba77c
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@342 4df02467-bbd4-4a76-a152-e7ce94205b78
18 lines
311 B
Makefile
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
|