229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
|
-I../src/exceptions \
-I../src/runtime \
-I../src/test \
-I.. \
-DOBJFWTEST_LOCAL_INCLUDES \
-DPROG_SUFFIX=\"${PROG_SUFFIX}\"
OBJCFLAGS_RuntimeARCTests.m = -fobjc-arc -fobjc-arc-exceptions
# Repetition is required for Wii U, as otherwise it cannot find main. Just
# moving -lobjfwtest later doesn't work either, as then the linker cannot find
# ObjFW symbols. So the only solution is to list everything twice.
LIBS := -L../src/test \
-lobjfwtest \
${TESTS_LIBS} \
${LIBS} \
-lobjfwtest \
${TESTS_LIBS} \
${LIBS}
LDFLAGS += ${MAP_LDFLAGS}
LD = ${OBJC}
|
|
|
|
>
>
|
|
|
|
<
|
<
|
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
|
-I../src/exceptions \
-I../src/runtime \
-I../src/test \
-I.. \
-DOBJFWTEST_LOCAL_INCLUDES \
-DPROG_SUFFIX=\"${PROG_SUFFIX}\"
OBJCFLAGS_RuntimeARCTests.m = -fobjc-arc -fobjc-arc-exceptions
# Repetition of libraries is required for Wii U, as otherwise it cannot find
# main. Just moving -lobjfwtest later doesn't work either, as then the linker
# cannot find ObjFW symbols. So the only solution is to list everything twice,
# but hide it behind a variable because listing it twice causes a warning on
# macOS.
LIBS := -L../src/test \
-lobjfwtest \
${TESTS_LIBS} \
${LIBS} \
${WII_U_TESTS_LIBS}
LDFLAGS += ${MAP_LDFLAGS}
LD = ${OBJC}
|