]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/indirect-dylib/Makefile
ld64-85.2.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / indirect-dylib / Makefile
old mode 100644 (file)
new mode 100755 (executable)
index 32cb276..e3056a5
@@ -36,11 +36,11 @@ run: all
 
 all: 
        ${CC} ${CCFLAGS} bar.c -dynamiclib -o libbar.dylib
+       ${FAIL_IF_BAD_MACHO} libbar.dylib
        ${CC} ${CCFLAGS} foo.c libbar.dylib -dynamiclib -o libfoo.dylib 
+       ${FAIL_IF_BAD_MACHO} libfoo.dylib
        ${FAIL_IF_SUCCESS} ${CC} ${CCFLAGS} main.c -o main libfoo.dylib 2> fail.log
        grep ordinal fail.log | ${PASS_IFF_EMPTY}
 
 clean:
-       rm libfoo.dylib libbar.dylib main fail.log
-       
-
+       rm *.dylib main fail.log