Trust uboot's device list only if it does not look suspicious.
[AROS.git] / compiler / purify / Makefile
blobb64a374d091992a03a8e9b854dbcfcacdf040bdf
1 CC = ./purify cc
2 CFLAGS = -g -Wall
4 SYS_CC = cc
5 SYS_CFLAGS = -g -Wall
7 AR = ar
8 ARFLAGS = curv
9 RANLIB = true
11 x : test11
13 EXES = t_illread test1 test2 test3 test4 test5 test6 test7 test8 test9 \
14 test10 test11
16 all : $(EXES)
18 check : all
19 @for file in $(EXES) ; do \
20 check $$file ; \
21 done
23 % : %.c libpurify.a Makefile purify purify.gawk pbd.o ped.o
24 $(CC) $(CFLAGS) $< -o $@
26 pbd.o : src/pbd.S
27 $(SYS_CC) -c $< -o $@
29 ped.o : src/ped.S
30 $(SYS_CC) -c $< -o $@
32 libpurify.a : obj/init.o obj/util.o obj/hash.o obj/error.o obj/stack.o \
33 obj/access.o obj/stubs.o obj/memory.o obj/posinfo.o \
34 obj/debug.o obj/io.o
35 $(AR) $(ARFLAGS) $@ $?
36 $(RANLIB) $@
38 obj/%.o : src/%.c
39 $(SYS_CC) $(SYS_CFLAGS) -Isrc -c $< -o $@
41 obj/%.o : src/%.S
42 $(SYS_CC) $(SYS_CFLAGS) -x assembler-with-cpp -c $< -o $@
44 clean :
45 $(RM) obj/*.o libpurify.a t_illread test?
47 obj/access.o : src/debug.h src/error.h src/error.def src/hash.h
48 obj/debug.o : src/debug.h src/posinfo.h
49 obj/error.o : src/error.h src/error.def src/hash.h src/posinfo.h
50 obj/hash.o : src/hash.h src/util.h src/error.h src/error.def src/memory.h src/debug.h
51 obj/init.o : src/memory.h
52 obj/io.o : src/hash.h src/error.h src/error.def
53 obj/memory.o : src/memory.h src/hash.h src/posinfo.h src/error.h src/error.def \
54 src/util.h
55 obj/posinfo.o : src/posinfo.h src/util.h src/error.h src/error.def
56 obj/stack.o : src/hash.h src/debug.h
57 obj/util.o : src/util.h