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