]> git.saurik.com Git - apple/dyld.git/blame - unit-tests/test-cases/operator-new-dylib/Makefile
dyld-851.27.tar.gz
[apple/dyld.git] / unit-tests / test-cases / operator-new-dylib / Makefile
CommitLineData
39a8cd10
A
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
11TESTROOT = ../..
12include ${TESTROOT}/include/common.makefile
13
14
15all-check: all check
16
17check:
18 ./main
19
20all: main
21
22
23main: main.cxx libfoo.dylib
24 ${CXX} ${CXXFLAGS} -I${TESTROOT}/include -o main main.cxx libfoo.dylib
25
26libfoo.dylib: foo.cxx
27 ${CXX} ${CXXFLAGS} -dynamiclib foo.cxx -o libfoo.dylib
28
29
30
31clean:
32 ${RM} ${RMFLAGS} *~ main libfoo.dylib
33