]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/literals-coalesce/Makefile
ld64-84.1.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / literals-coalesce / Makefile
old mode 100644 (file)
new mode 100755 (executable)
index 80465f8..dcf1dbe
@@ -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