]> git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/operator-new-dylib/Makefile
dyld-750.5.tar.gz
[apple/dyld.git] / unit-tests / test-cases / operator-new-dylib / Makefile
1
2
3
4
5 #
6 # test that if the main executable overrides operator new
7 # that a dylib using operator new is redirected to it.
8 #
9 #
10
11 TESTROOT = ../..
12 include ${TESTROOT}/include/common.makefile
13
14
15 all-check: all check
16
17 check:
18 ./main
19
20 all: main
21
22
23 main: main.cxx libfoo.dylib
24 ${CXX} ${CXXFLAGS} -I${TESTROOT}/include -o main main.cxx libfoo.dylib
25
26 libfoo.dylib: foo.cxx
27 ${CXX} ${CXXFLAGS} -dynamiclib foo.cxx -o libfoo.dylib
28
29
30
31 clean:
32 ${RM} ${RMFLAGS} *~ main libfoo.dylib
33