-libfoo.dylib : foo.c libbar.dylib
- ${CC} foo.c -dynamiclib -o libfoo.dylib libbar.dylib -sub_library libbar -mmacosx-version-min=10.4
-
-libbar.dylib : bar.c other/libfoo.dylib
- ${CC} bar.c -dynamiclib -o libbar.dylib other/libfoo.dylib -sub_library libfoo -mmacosx-version-min=10.4
-
-other/libfoo.dylib : foo.c
- mkdir -p other
- ${CC} foo.c -dynamiclib -o other/libfoo.dylib -mmacosx-version-min=10.4