TESTROOT = ../..
include ${TESTROOT}/include/common.makefile
-run: all
- ./main
+all-check: all check
all: main
libbar.dylib : bar.c
${CC} -I${TESTROOT}/include -dynamiclib bar.c -o libbar.dylib -install_name /usr/local/hide/libbar.dylib
+check:
+ ./main
+
clean:
${RM} ${RMFLAGS} *~ main libbar.dylib libfoo.dylib