more APIs
[ia32rtools.git] / tests / Makefile
CommitLineData
19b07b62 1
acd03176 2TESTS = reg_call1 reg_call2 reg_call3 reg_call_tail reg_save \
3 varargs
19b07b62 4
5all: $(addsuffix .ok,$(TESTS))
6
7%.ok: %.expect.c %.out.c
8 diff -u $^
9 touch $@
10
11%.out.h: %.asm %.seed.h ../stdc.list
12 ../tools/translate -hdr $@ $^
13
14%.out.c: %.asm %.out.h ../stdc.list
15 ../tools/translate $@ $^
16
17clean:
18 $(RM) *.ok *.out.c *.out.h
19
20.PHONY: all clean
21.PRECIOUS: %.out.c