minor fixes
[ia32rtools.git] / tests / Makefile
CommitLineData
19b07b62 1
c47daea4 2TESTS = reg_call1 reg_call2 reg_call3 reg_call4 reg_call5 reg_call6 \
77d7983a 3 reg_call7 \
7a3c5555 4 reg_call_tail reg_call_tail2 reg_save reg_save2 \
93b5bd18 5 varargs ops x87 x87_f x87_s deref
19b07b62 6
7all: $(addsuffix .ok,$(TESTS))
8
9%.ok: %.expect.c %.out.c
10 diff -u $^
11 touch $@
12
13%.out.h: %.asm %.seed.h ../stdc.list
14 ../tools/translate -hdr $@ $^
15
16%.out.c: %.asm %.out.h ../stdc.list
17 ../tools/translate $@ $^
18
19clean:
20 $(RM) *.ok *.out.c *.out.h
21
22.PHONY: all clean
23.PRECIOUS: %.out.c