https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/lldb-cmake-sanitized/2744/consoleText
19 lines
482 B
Makefile
19 lines
482 B
Makefile
EXE := fat.out
|
|
LIPO=lipo
|
|
|
|
include Makefile.rules
|
|
|
|
all: fat.out
|
|
|
|
x86_64.out: x86_64.c
|
|
$(CC) $(ASAN_LDFLAGS) -isysroot $(SDKROOT) -target x86_64-apple-macosx10.9 -o x86_64.out $<
|
|
|
|
x86_64h.out: x86_64h.c
|
|
$(CC) $(ASAN_LDFLAGS) -isysroot $(SDKROOT) -target x86_64h-apple-macosx10.9 -o x86_64h.out $<
|
|
|
|
arm64.out: arm64.c
|
|
$(CC) $(ASAN_LDFLAGS) -isysroot $(SDKROOT) -target arm64-apple-macosx10.9 -o arm64.out $<
|
|
|
|
fat.out: x86_64.out x86_64h.out arm64.out
|
|
$(LIPO) -o fat.out -create $^
|