### so the next use of libfoo seemed to succeed, when it should have failed.
###
+all-check: all check
-run: all
+check:
export DYLD_IMAGE_SUFFIX="_missing" && ./main
all: main libfoo.dylib
main : main.c
- ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c
+ ${CC} ${CCFLAGS} -Wno-deprecated-declarations -I${TESTROOT}/include -o main main.c
libfoo.dylib : foo.c libbar_missing.dylib libbar.dylib
${CC} ${CCFLAGS} foo.c -dynamiclib -o libfoo.dylib libbar.dylib