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