]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/loader_path/Makefile
dyld-851.27.tar.gz
[apple/dyld.git] / unit-tests / test-cases / loader_path / Makefile
index 6b342078eadf1f924a0158afe9b049a90e9cfaf9..06eeb2b0c505b5df1a32e23b912e4848617c29d3 100644 (file)
@@ -23,7 +23,9 @@
 TESTROOT = ../..
 include ${TESTROOT}/include/common.makefile
 
-run: all
+all-check: all check
+
+check:
        ./main
 
 all: main
@@ -44,9 +46,9 @@ libfoo2.dylib : foo.c
 
 
 main : main.c libfoo2.dylib hide/libbar.dylib hide/libfoo3.dylib
-       ${CC} -I${TESTROOT}/include main.c -o main hide/libbar.dylib libfoo2.dylib 
-       install_name_tool -change libfoo2.dylib '@loader_path/libfoo2.dylib'      main
-       install_name_tool -change libbar.dylib  '@loader_path/hide/libbar.dylib'  main
+       ${CC}   -Wno-deprecated-declarations -I${TESTROOT}/include main.c -o main hide/libbar.dylib libfoo2.dylib 
+       ${INSTALL_NAME_TOOL} -change libfoo2.dylib '@loader_path/libfoo2.dylib'      main
+       ${INSTALL_NAME_TOOL} -change libbar.dylib  '@loader_path/hide/libbar.dylib'  main
 
 clean:
        ${RM} ${RMFLAGS} *~  main libfoo.dylib hide libfoo2.dylib