]> git.saurik.com Git - apple/dyld.git/blame_incremental - unit-tests/test-cases/weak-external-reloc/Makefile
dyld-239.4.tar.gz
[apple/dyld.git] / unit-tests / test-cases / weak-external-reloc / Makefile
... / ...
CommitLineData
1
2
3TESTROOT = ../..
4include ${TESTROOT}/include/common.makefile
5
6all-check: all check
7
8check:
9 ./main
10
11all: main
12
13main: main.c librealmain.dylib
14 ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c librealmain.dylib
15
16librealmain.dylib: realmain.c libfoo.dylib
17 ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -o librealmain.dylib realmain.c libfoo.dylib
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 libbaz.dylib
23 ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -o libbar.dylib bar.c libbaz.dylib
24
25libbaz.dylib: baz.c
26 ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -o libbaz.dylib baz.c
27
28clean:
29 ${RM} ${RMFLAGS} *~ main libfoo.dylib libbar.dylib libbaz.dylib librealmain.dylib
30