]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/weak-symbol/Makefile
dyld-132.13.tar.gz
[apple/dyld.git] / unit-tests / test-cases / weak-symbol / Makefile
index e24ee5229faf4563fc2361a7bd2a60ecf5488d49..f2d1cec86be467812113eb8dc66bef88c03126b3 100644 (file)
 TESTROOT = ../..
 include ${TESTROOT}/include/common.makefile
 
-run: all
+
+all-check: all check
+
+check:
        export DYLD_IMAGE_SUFFIX=_missing && ${TESTROOT}/bin/exit-zero-pass.pl "weak-symbol" "weak-symbol" ./main
 
 all: foo.c main.c
        ${CC} foo.c -dynamiclib -o libfoo.dylib  -DSYMBOL_PRESENT 
        ${CC} foo.c -dynamiclib -o libfoo_missing.dylib -install_name libfoo.dylib
-       export MACOSX_DEPLOYMENT_TARGET=10.2 && ${CC} -I${TESTROOT}/include -L. -lfoo main.c -o main  
+       ${CC} -I${TESTROOT}/include -L. -lfoo main.c -o main  
 
 clean:
        ${RM} ${RMFLAGS} *~ libfoo.dylib libfoo_missing.dylib main