]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/weak_import3/Makefile
ld64-127.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / weak_import3 / Makefile
index 98a277991b16b6d8520942771b15e12aa06b2a09..2c8806d89b8ca0a9d3cb95ace4b5e2a470a433be 100644 (file)
@@ -31,13 +31,16 @@ include ${TESTROOT}/include/common.makefile
 run: all
 
 all:   
-       ${CC} ${CCFLAGS} -c foo.c -o foo-${ARCH}.o
-       ${FAIL_IF_BAD_OBJ} foo-${ARCH}.o
+       ${CC} ${CCFLAGS} -c foo.c -o foo.o
+       ${FAIL_IF_BAD_OBJ} foo.o
 
-       ${CC} ${CCFLAGS} -c foo1.c -o foo1-${ARCH}.o
-       ${FAIL_IF_BAD_OBJ} foo1-${ARCH}.o
+       ${CC} ${CCFLAGS} -c foo1.c -o foo1.o
+       ${FAIL_IF_BAD_OBJ} foo1.o
 
-       ${PASS_IFF_ERROR} ${CC} ${CCFLAGS} -dynamiclib foo-${ARCH}.o foo1-${ARCH}.o -o libfoo-${ARCH}.dylib 2>/dev/null
+       ${PASS_IFF_ERROR} ${CC} ${CCFLAGS} -dynamiclib foo.o foo1.o -o libfoo.dylib 
 
 clean:
-       rm -rf *.o *.dylib main-*
+       rm -rf foo.o foo1.o libfoo.dylib
+
+
+#2>/dev/null
\ No newline at end of file