X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/d696c285d331ab577dcabd00419d8c30336673da..2f2f92e40575142405a1caa9bcf847f7ad011c92:/unit-tests/test-cases/private-non-lazy/Makefile diff --git a/unit-tests/test-cases/private-non-lazy/Makefile b/unit-tests/test-cases/private-non-lazy/Makefile old mode 100644 new mode 100755 index 655631c..be0ba42 --- a/unit-tests/test-cases/private-non-lazy/Makefile +++ b/unit-tests/test-cases/private-non-lazy/Makefile @@ -33,15 +33,22 @@ run: all all: ${CC} ${CCFLAGS} -c foo.c -o foo.o + ${FAIL_IF_BAD_OBJ} foo.o + ${CC} ${CCFLAGS} -c bar.c -o bar.o + ${FAIL_IF_BAD_OBJ} bar.o + ${LD} -r foo.o bar.o -o foobar.o -arch ${ARCH} + ${FAIL_IF_BAD_OBJ} foobar.o + ${CC} ${CCFLAGS} hello.c foobar.o -o hello ${FAIL_IF_BAD_MACHO} hello + ${LD} -r foo.o bar.o -o foobar2.o -arch ${ARCH} -keep_private_externs + ${FAIL_IF_BAD_OBJ} foobar2.o + ${CC} ${CCFLAGS} hello.c foobar2.o -o hello2 ${PASS_IFF_GOOD_MACHO} hello2 clean: - rm foo.o bar.o foobar.o hello foobar2.o hello2 - - + rm -rf *.o hello hello2