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