Created
September 30, 2011 04:34
-
-
Save OneSadCookie/1252664 to your computer and use it in GitHub Desktop.
how to use choosesdk.rb in make
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
THIN_EXES := $(patsubst %,build/%/$(APP),$(ARCHS)) | |
build/%/$(APP): $(SOURCES) Makefile Arch.mk | |
./choosesdk.rb --arch=$* --min-os=10.6 --run="$(MAKE) -f Arch.mk $@ ARCH=$*" | |
$(EXE): $(THIN_EXES) Makefile | |
mkdir -p $(@D) | |
lipo $(THIN_EXES) -create -output $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment