]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/NSAddImage-MATCH_BY_INSTALLNAME/Makefile
dyld-851.27.tar.gz
[apple/dyld.git] / unit-tests / test-cases / NSAddImage-MATCH_BY_INSTALLNAME / Makefile
index 3aeab86b0f4d6d0efe6b389abf93dd4734d27951..2a47c2b97120c105471d01509ea0daec512afc3a 100644 (file)
 TESTROOT = ../..
 include ${TESTROOT}/include/common.makefile
 
-run: all
-       ./main
+all-check: all check
 
 all: main
 
 main : main.c libbar.dylib libfoo.dylib
-       ${CC} -I${TESTROOT}/include main.c -o main
+       ${CC} -Wno-deprecated-declarations -I${TESTROOT}/include main.c -o main
 
 libfoo.dylib : foo.c libbar.dylib
        ${CC} -I${TESTROOT}/include -dynamiclib foo.c -o libfoo.dylib libbar.dylib
 
 libbar.dylib : bar.c
-       ${CC} -I${TESTROOT}/include -dynamiclib bar.c -o libbar.dylib -install_name /usr/local/hide/libbar.dylib
+       ${CC}  -I${TESTROOT}/include -dynamiclib bar.c -o libbar.dylib -install_name /usr/local/hide/libbar.dylib
+
+check:
+       ./main
 
 clean:
        ${RM} ${RMFLAGS} *~  main libbar.dylib libfoo.dylib