199451b44SJordan RupprechtEXE := testit
299451b44SJordan Rupprecht
399451b44SJordan Rupprechtinclude Makefile.rules
499451b44SJordan Rupprecht
599451b44SJordan Rupprechtall: testit
699451b44SJordan Rupprecht
799451b44SJordan Rupprechttestit: testit.x86_64h testit.x86_64
899451b44SJordan Rupprecht	lipo -create -o testit $^
999451b44SJordan Rupprecht
1099451b44SJordan Rupprechttestit.x86_64h: testit.x86_64h.o
11*0fa520afSAdrian Prantl	$(CC) -isysroot $(SDKROOT) -target x86_64h-apple-macosx10.9 -o testit.x86_64h $<
1299451b44SJordan Rupprecht
1399451b44SJordan Rupprechttestit.x86_64: testit.x86_64.o
14*0fa520afSAdrian Prantl	$(CC) -isysroot $(SDKROOT) -target x86_64-apple-macosx10.9 -o testit.x86_64 $<
1599451b44SJordan Rupprecht
1699451b44SJordan Rupprechttestit.x86_64h.o: main.c
17*0fa520afSAdrian Prantl	$(CC) -isysroot $(SDKROOT) -g -O0 -target x86_64h-apple-macosx10.9-apple-macosx10.9-apple-macosx10.9-apple-macosx10.9 -c -o testit.x86_64h.o $<
1899451b44SJordan Rupprecht
1999451b44SJordan Rupprechttestit.x86_64.o: main.c
20*0fa520afSAdrian Prantl	$(CC) -isysroot $(SDKROOT) -g -O0 -target x86_64-apple-macosx10.9 -c -o testit.x86_64.o $<
21