21 lines · plain
1EXE := testit2 3include Makefile.rules4 5all: testit6 7testit: testit.x86_64h testit.x86_648 lipo -create -o testit $^9 10testit.x86_64h: testit.x86_64h.o11 $(CC) -isysroot $(SDKROOT) -target x86_64h-apple-macosx10.9 -o testit.x86_64h $<12 13testit.x86_64: testit.x86_64.o14 $(CC) -isysroot $(SDKROOT) -target x86_64-apple-macosx10.9 -o testit.x86_64 $<15 16testit.x86_64h.o: main.c17 $(CC) -isysroot $(SDKROOT) -g -O0 -target x86_64h-apple-macosx10.9 -c -o testit.x86_64h.o $<18 19testit.x86_64.o: main.c20 $(CC) -isysroot $(SDKROOT) -g -O0 -target x86_64-apple-macosx10.9 -c -o testit.x86_64.o $<21