mirror of
https://github.com/uffejakobsen/acme.git
synced 2024-11-22 03:30:46 +00:00
5b3557841e
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@336 4df02467-bbd4-4a76-a152-e7ce94205b78
18 lines
307 B
Makefile
18 lines
307 B
Makefile
ACMEFLAGS = -v0
|
|
CPUS := $(subst .a,,$(subst test-,,$(wildcard test-*.a)))
|
|
FILES = $(foreach N,$(CPUS),$(N).o)
|
|
|
|
.SILENT:
|
|
|
|
%.o: test-%.a
|
|
echo "Testing CPU:" $(subst .o,,$@)
|
|
acme $(ACMEFLAGS) -o test.o $<
|
|
cmp test.o expected-$@
|
|
rm test.o
|
|
echo "Ok."
|
|
|
|
all: $(FILES)
|
|
echo
|
|
echo "Testing CPUs: PASSED"
|
|
echo
|