Jordan Rupprecht 0d236d8b4f [lldb] Update hardcoded Makefile.rules inclusions.
This replaces `include $(LEVEL)/Makefile.rules` with `include Makefile.rules`.
The lldb test driver already passes the include path when running make, and specifically looking for "../../Makefile.rules" forces the test to be in a specific location.
Removing this hardcoded relative path will make it possible to move this test as-is.
2019-12-05 15:50:03 -08:00

14 lines
273 B
Makefile

C_SOURCES := main.c
LD_EXTRAS := -L. -lfoo
TRIPLE := x86_64-apple-ios13.0-macabi
CFLAGS_EXTRAS := -target $(TRIPLE)
all: libfoo.dylib a.out
libfoo.dylib: foo.c
$(MAKE) -f $(MAKEFILE_RULES) \
DYLIB_ONLY=YES DYLIB_NAME=foo DYLIB_C_SOURCES=foo.c
include Makefile.rules