X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/77cc3118ce7a3a70a0a7364d77ae1eb766a477e7..afe874b1634377ecb27057ee76deb04915bb34d7:/unit-tests/test-cases/weak_import3/Makefile diff --git a/unit-tests/test-cases/weak_import3/Makefile b/unit-tests/test-cases/weak_import3/Makefile index 98a2779..2c8806d 100644 --- a/unit-tests/test-cases/weak_import3/Makefile +++ b/unit-tests/test-cases/weak_import3/Makefile @@ -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