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