]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - packages/Python/lldbsuite/test/macosx/universal/Makefile
Vendor import of lldb trunk r338150:
[FreeBSD/FreeBSD.git] / packages / Python / lldbsuite / test / macosx / universal / Makefile
1 CC ?= clang
2
3 all: testit
4
5 testit: testit.i386 testit.x86_64
6         lipo -create -o testit $^
7
8 testit.i386: testit.i386.o
9         $(CC) -arch i386 -o testit.i386 $<
10
11 testit.x86_64: testit.x86_64.o
12         $(CC) -arch x86_64 -o testit.x86_64 $<
13
14 testit.i386.o: main.c
15         $(CC) -g -O0 -arch i386 -c -o testit.i386.o $<
16
17 testit.x86_64.o: main.c
18         $(CC) -g -O0 -arch x86_64 -c -o testit.x86_64.o $<
19
20 clean:
21         rm -rf $(wildcard testit* *~)