1EXE := fat.out 2 3ifdef FAT64_DSYM 4 DSFLAGS_EXTRAS=-fat64 5endif 6 7include Makefile.rules 8 9all: fat.out 10 11fat.out: fat.x86_64h.out fat.x86_64.out 12 lipo -fat64 -create -o $@ $^ 13 14fat.x86_64.out: fat.x86_64.o 15 $(CC) -isysroot $(SDKROOT) -target x86_64-apple-macosx10.9 -o $@ $< 16 17fat.x86_64h.out: fat.x86_64h.o 18 $(CC) -isysroot $(SDKROOT) -target x86_64h-apple-macosx10.9 -o $@ $< 19 20fat.x86_64.o: main.c 21 $(CC) -isysroot $(SDKROOT) -g -O0 -target x86_64-apple-macosx10.9 -c -o $@ $< 22 23fat.x86_64h.o: main.c 24 $(CC) -isysroot $(SDKROOT) -g -O0 -target x86_64h-apple-macosx10.9 -c -o $@ $< 25