summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/macosx/macabi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/macosx/macabi/Makefile')
-rw-r--r--lldb/packages/Python/lldbsuite/test/macosx/macabi/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/macosx/macabi/Makefile b/lldb/packages/Python/lldbsuite/test/macosx/macabi/Makefile
index f035d912b10..286c77452c5 100644
--- a/lldb/packages/Python/lldbsuite/test/macosx/macabi/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/macosx/macabi/Makefile
@@ -8,11 +8,8 @@ CFLAGS_EXTRAS := -target $(TRIPLE)
all: libfoo.dylib a.out
-lib%.dylib: %.c
- $(MAKE) MAKE_DSYM=YES CC=$(CC) \
- ARCH=$(ARCH) DSYMUTIL=$(DSYMUTIL) \
- BASENAME=$(shell basename $< .c) \
- TRIPLE=x86_64-apple-macosx10.15 SDKROOT=$(SDKROOT) \
- VPATH=$(SRCDIR) -I $(SRCDIR) -f $(SRCDIR)/dylib.mk all
+libfoo.dylib: foo.c \
+ $(MAKE) -f $(MAKEFILE_RULES) \
+ DYLIB_ONLY=YES DYLIB_NAME=foo DYLIB_C_SOURCES=foo.c
include $(LEVEL)/Makefile.rules
OpenPOWER on IntegriCloud