]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/unloadable-library-residue/Makefile
dyld-195.5.tar.gz
[apple/dyld.git] / unit-tests / test-cases / unloadable-library-residue / Makefile
index 77e16cc0e61646ecd25a05fd1c6a345521dd3ca5..42459e6f17408aadefeedfea26a9ea34634161f4 100644 (file)
@@ -31,14 +31,15 @@ include ${TESTROOT}/include/common.makefile
 ### so the next use of libfoo seemed to succeed, when it should have failed.
 ###
 
+all-check: all check
 
-run: all
+check:
        export DYLD_IMAGE_SUFFIX="_missing" && ./main
 
 all: main libfoo.dylib
 
 main : main.c
-       ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c
+       ${CC} ${CCFLAGS} -Wno-deprecated-declarations -I${TESTROOT}/include -o main main.c
 
 libfoo.dylib : foo.c libbar_missing.dylib libbar.dylib
        ${CC} ${CCFLAGS} foo.c -dynamiclib -o libfoo.dylib libbar.dylib