]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/literals-coalesce/Makefile
ld64-77.tar.gz
[apple/ld64.git] / unit-tests / test-cases / literals-coalesce / Makefile
index 80465f8953224aa77bf4e7df9c549fbd6c44458e..dcf1dbefc84df607d7685cdc8a982de14903199f 100644 (file)
@@ -32,12 +32,9 @@ run: all
 
 all:
        ${CC} ${ASMFLAGS} literals.s -c -o literals-${ARCH}.o
-       ${OBJECTDUMP} literals-${ARCH}.o | grep 'name:'| uniq -c | grep -v '^   [1|2]' | ${FAIL_IF_STDIN}
+       ${FAIL_IF_ERROR} ${OBJECTDUMP} literals-${ARCH}.o | grep 'name:'| uniq -c | grep -v '^   [1|2]' | ${FAIL_IF_STDIN}
        ${LD} -arch ${ARCH} -r literals-${ARCH}.o -o literals-r-${ARCH}.o
-       ${OBJECTDUMP} literals-r-${ARCH}.o | grep 'name:' | uniq -d | ${PASS_IFF_EMPTY}
+       ${FAIL_IF_ERROR} ${OBJECTDUMP} literals-r-${ARCH}.o | grep 'name:' | uniq -d | ${PASS_IFF_EMPTY}
 
 clean:
-       rm -rf literals-${ARCH}.o -o literals-r-${ARCH}.o
-               
-       
-
+       rm -rf *.o