1EXE := testit 2 3include Makefile.rules 4 5all: testit 6 7testit: testit.x86_64h testit.x86_64 8 lipo -create -o testit $^ 9 10testit.x86_64h: testit.x86_64h.o 11 $(CC) -isysroot $(SDKROOT) -target x86_64h-apple-macosx10.9 -o testit.x86_64h $< 12 13testit.x86_64: testit.x86_64.o 14 $(CC) -isysroot $(SDKROOT) -target x86_64-apple-macosx10.9 -o testit.x86_64 $< 15 16testit.x86_64h.o: main.c 17 $(CC) -isysroot $(SDKROOT) -g -O0 -target x86_64h-apple-macosx10.9 -c -o testit.x86_64h.o $< 18 19testit.x86_64.o: main.c 20 $(CC) -isysroot $(SDKROOT) -g -O0 -target x86_64-apple-macosx10.9 -c -o testit.x86_64.o $< 21