]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/multiple-entry-points/Makefile
ld64-85.2.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / multiple-entry-points / Makefile
old mode 100644 (file)
new mode 100755 (executable)
index 0a8dee0..136bcf6
@@ -35,13 +35,12 @@ run: all
 
 all:
        ${CC} ${ASMFLAGS} test.s -c -o test.${ARCH}.o
+       ${FAIL_IF_ERROR} ${OBJECTDUMP} -no_sort test.${ARCH}.o > test.${ARCH}.o.dump
+
        ${LD} -arch ${ARCH} -r -keep_private_externs test.${ARCH}.o -o test-r.${ARCH}.o
-       ${OBJECTDUMP} -no_sort test.${ARCH}.o > test.${ARCH}.o.dump
-       ${OBJECTDUMP} -no_sort test-r.${ARCH}.o > test-r.${ARCH}.o.dump
+       ${FAIL_IF_ERROR} ${OBJECTDUMP} -no_sort test-r.${ARCH}.o > test-r.${ARCH}.o.dump
+
        ${PASS_IFF} diff test.${ARCH}.o.dump test-r.${ARCH}.o.dump
 
 clean:
-       rm -rf test.${ARCH}.o test-r.${ARCH}.o test.${ARCH}.o.dump test-r.${ARCH}.o.dump
-       
-       
-
+       rm -rf *.o *.dump