]> git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/dynamic_cast-basic/Makefile
dyld-732.8.tar.gz
[apple/dyld.git] / unit-tests / test-cases / dynamic_cast-basic / 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.cxx librealmain.dylib
14 ${CXX} ${CXXFLAGS} -I${TESTROOT}/include -o main main.cxx librealmain.dylib
15
16 librealmain.dylib: realmain.cxx libfoo.dylib
17 ${CXX} ${CXXFLAGS} -I${TESTROOT}/include -dynamiclib -o librealmain.dylib realmain.cxx libfoo.dylib
18
19 libfoo.dylib: foo.cxx
20 ${CXX} ${CXXFLAGS} -I${TESTROOT}/include -dynamiclib -o libfoo.dylib foo.cxx
21
22 clean:
23 ${RM} ${RMFLAGS} *~ main libfoo.dylib librealmain.dylib
24