translate: initial float support
[ia32rtools.git] / tests / Makefile
1
2 TESTS = reg_call1 reg_call2 reg_call3 reg_call_tail reg_save \
3         varargs ops x87
4
5 all: $(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
17 clean:
18         $(RM) *.ok *.out.c *.out.h
19
20 .PHONY: all clean
21 .PRECIOUS: %.out.c