all:
${CC} ${CCFLAGS} test.m -c -o test.${ARCH}.o
+ ${FAIL_IF_ERROR} ${OBJECTDUMP} -no_content test.${ARCH}.o > test.${ARCH}.o.dump
+
${LD} -arch ${ARCH} -r -keep_private_externs test.${ARCH}.o -o test-r.${ARCH}.o
- ${OBJECTDUMP} -no_content test.${ARCH}.o > test.${ARCH}.o.dump
- ${OBJECTDUMP} -no_content test-r.${ARCH}.o > test-r.${ARCH}.o.dump
+ ${FAIL_IF_ERROR} ${OBJECTDUMP} -no_content test-r.${ARCH}.o > test-r.${ARCH}.o.dump
+
${PASS_IFF} diff test.${ARCH}.o.dump test-r.${ARCH}.o.dump
clean:
- rm -rf test.${ARCH}.o test-r.${ARCH}.o test.${ARCH}.o.dump test-r.${ARCH}.o.dump
-
-
+ rm -rf *.o *.dump