]> git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/weak-in-dylib/Makefile
dyld-195.6.tar.gz
[apple/dyld.git] / unit-tests / test-cases / weak-in-dylib / 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
14 ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c libfoo.dylib
15
16 libfoo.dylib: foo.c
17 ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -o libfoo.dylib foo.c
18
19 clean:
20 ${RM} ${RMFLAGS} *~ main libfoo.dylib
21