X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/0959b6d4289bd106fddb7fe7d84a346159895fdd..39a8cd101b922f08058746122efff58c14b57605:/unit-tests/test-cases/NSAddImage-MATCH_BY_INSTALLNAME/Makefile diff --git a/unit-tests/test-cases/NSAddImage-MATCH_BY_INSTALLNAME/Makefile b/unit-tests/test-cases/NSAddImage-MATCH_BY_INSTALLNAME/Makefile index 3aeab86..2a47c2b 100644 --- a/unit-tests/test-cases/NSAddImage-MATCH_BY_INSTALLNAME/Makefile +++ b/unit-tests/test-cases/NSAddImage-MATCH_BY_INSTALLNAME/Makefile @@ -23,19 +23,21 @@ 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