1 LD_EXTRAS
:= -lobjc
-framework Foundation
-L.
-lTest
-lTestExt
6 a.out
: libTest.dylib libTestExt.dylib
10 libTest.dylib
: Test
/Test.m
12 "$(MAKE)" MAKE_DSYM
=YES
-f
$(MAKEFILE_RULES
) \
13 DYLIB_ONLY
=YES DYLIB_NAME
=Test DYLIB_OBJC_SOURCES
=Test
/Test.m \
14 LD_EXTRAS
="-lobjc -framework Foundation" \
15 CFLAGS_EXTRAS
=-I
$(SRCDIR
)
17 libTestExt.dylib
: TestExt
/TestExt.m
19 "$(MAKE)" MAKE_DSYM
=YES
-f
$(MAKEFILE_RULES
) \
20 DYLIB_ONLY
=YES DYLIB_NAME
=TestExt DYLIB_OBJC_SOURCES
=TestExt
/TestExt.m \
21 LD_EXTRAS
="-lobjc -framework Foundation -lTest -L." \
22 CFLAGS_EXTRAS
=-I
$(SRCDIR
)