[JITLink][LoongArch] Support R_LARCH_ALIGN relaxation (#122259)
[llvm-project.git] / lldb / test / API / lang / objc / conflicting-definition / Makefile
blobcba79c94d46baacb85326434c41692643a12f2f5
1 LD_EXTRAS := -lobjc -framework Foundation -L. -lTest -lTestExt
2 OBJC_SOURCES := main.m
4 all: a.out
6 a.out: libTest.dylib libTestExt.dylib
8 include Makefile.rules
10 libTest.dylib: Test/Test.m
11 mkdir -p Test
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
18 mkdir -p TestExt
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)