]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/multiple-entry-points/Makefile
ld64-97.17.tar.gz
[apple/ld64.git] / unit-tests / test-cases / multiple-entry-points / Makefile
index 0a8dee09f35ae43bf402c54b7fff9bbece9d2263..136bcf63731dc3dbb1b5f0b9b6091b981fa70d5d 100644 (file)
@@ -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