]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/weak-coalesce/Makefile
dyld-239.4.tar.gz
[apple/dyld.git] / unit-tests / test-cases / weak-coalesce / Makefile
index 13bdf3720e3edbe5280e314033b7afa7913b646c..543a5be4a15f43395278a48c0cab1b7f167648b1 100644 (file)
 TESTROOT = ../..
 include ${TESTROOT}/include/common.makefile
 
+all-check: all check
 
-run: all
+check:
        ./main
 
 all: main
 
-
 main: main.c libfoo1.dylib libbase.dylib
-       ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c libfoo1.dylib libbase.dylib
+       ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c libfoo1.dylib libbase.dylib 
 
 libfoo1.dylib: foo1.c libfoo2.dylib libbase.dylib
-       ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -single_module -o libfoo1.dylib foo1.c libfoo2.dylib libbase.dylib
+       ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -single_module -o libfoo1.dylib foo1.c libfoo2.dylib libbase.dylib 
 
 libfoo2.dylib: foo2.c libfoo3.dylib libbase.dylib
-       ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -single_module -o libfoo2.dylib foo2.c libfoo3.dylib libbase.dylib
+       ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -single_module -o libfoo2.dylib foo2.c libfoo3.dylib libbase.dylib 
 
 libfoo3.dylib: foo3.c libbase.dylib
-       ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -single_module -o libfoo3.dylib foo3.c libbase.dylib -prebind -seg1addr 20000
+       ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -single_module -o libfoo3.dylib foo3.c libbase.dylib -prebind -seg1addr 20000 
 
 libbase.dylib: base.c
-       ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -single_module -o libbase.dylib base.c -prebind -seg1addr 10000
+       ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -single_module -o libbase.dylib base.c -prebind -seg1addr 10000