]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/archive-basic/Makefile
ld64-77.tar.gz
[apple/ld64.git] / unit-tests / test-cases / archive-basic / Makefile
index 721cf2a3f84a6bb7a971fbabcd268e5934ddd0b5..39c0ef97da378cfaab3a36a135dcdb6f5938dc61 100644 (file)
@@ -32,7 +32,9 @@ run: all
 
 all:
        ${CC} ${CCFLAGS} foo.c -c -o foo-${ARCH}.o 
+       ${FAIL_IF_BAD_OBJ} foo-${ARCH}.o
        ${CC} ${CCFLAGS} bar.c -c -o bar-${ARCH}.o 
+       ${FAIL_IF_BAD_OBJ} bar-${ARCH}.o
        libtool -static foo-${ARCH}.o  bar-${ARCH}.o -o libfoobar-${ARCH}.a
        ${CC} ${CCFLAGS} main.c -lfoobar-${ARCH} -L. -o main-${ARCH} 
        ${FAIL_IF_BAD_MACHO} main-${ARCH}
@@ -41,6 +43,4 @@ all:
        ${FAIL_IF_BAD_MACHO} main-${ARCH}
 
 clean:
-       rm -rf main-${ARCH} foo-${ARCH}.o bar-${ARCH}.o libfoobar-${ARCH}.a
-       
-
+       rm -rf main-* *.o *.a