X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/a61fdf0a731e23ff7eb0cc86ba748fd9af5de879..HEAD:/unit-tests/test-cases/dtrace-static-probes/Makefile diff --git a/unit-tests/test-cases/dtrace-static-probes/Makefile b/unit-tests/test-cases/dtrace-static-probes/Makefile index 5046ea1..1688f23 100644 --- a/unit-tests/test-cases/dtrace-static-probes/Makefile +++ b/unit-tests/test-cases/dtrace-static-probes/Makefile @@ -30,25 +30,25 @@ include ${TESTROOT}/include/common.makefile all: run -run: main main-r main-dead_strip libmain.dylib +run: main main-dead_strip libmain.dylib main-r ${FAIL_IF_BAD_MACHO} main ${PASS_IFF_GOOD_MACHO} main-r main: main.c foo.h bar.h - ${CC} main.c -o main + ${CC} ${CCFLAGS} main.c -o main main-dead_strip: main.c foo.h bar.h - ${CC} main.c -o main-dead_strip -dead_strip + ${CC} ${CCFLAGS} main.c -o main-dead_strip -dead_strip main-r: main.c foo.h bar.h - ${CC} main.c -c -o main.o + ${CC} ${CCFLAGS} main.c -c -o main.o #${FAIL_IF_BAD_OBJ} main.o ${LD} -r main.o -o main-r.o #${FAIL_IF_BAD_OBJ} main-r.o - ${CC} main-r.o -o main-r + ${CC} ${CCFLAGS} main-r.o -o main-r libmain.dylib: main.c foo.h bar.h - ${CC} main.c -dynamiclib -o libmain.dylib + ${CC} ${CCFLAGS} main.c -dynamiclib -o libmain.dylib foo.h: foo.d dtrace -h -s foo.d @@ -57,4 +57,4 @@ bar.h: bar.d dtrace -h -s bar.d clean: - rm -rf main main main-r main-dead_strip foo.h bar.h *.o + rm -rf main libmain.dylib main-r main-dead_strip foo.h bar.h *.o