]> git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/weak-lazy-slidable/Makefile
dyld-360.19.tar.gz
[apple/dyld.git] / unit-tests / test-cases / weak-lazy-slidable / Makefile
1
2
3 TESTROOT = ../..
4 include ${TESTROOT}/include/common.makefile
5
6 all-check: all check
7
8 check:
9 ./main
10
11 all: main
12
13 main: main.c libfoo.dylib libother.dylib
14 ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c libother.dylib libfoo.dylib
15
16 libother.dylib: foo.c
17 ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -o libother.dylib other.c
18
19 libfoo.dylib: foo.c libbar.dylib
20 ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -o libfoo.dylib foo.c libbar.dylib
21
22 libbar.dylib: bar.c libbar3.dylib
23 ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -o libbar.dylib bar.c libbar3.dylib
24
25 libbar3.dylib: bar3.c
26 ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -o libbar3.dylib bar3.c
27
28
29 clean:
30 ${RM} ${RMFLAGS} *~ main libfoo.dylib libbar.dylib libbar3.dylib libother.dylib
31