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