Created
August 24, 2012 03:35
-
-
Save guehara/3445183 to your computer and use it in GitHub Desktop.
Makefile for Flymake - iOS5.1 with ARC
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
CLANG = /usr/bin/clang | |
ARCH = -arch armv7 | |
SDK = -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk | |
OS_VER_MIN = -miphoneos-version-min=5.1 | |
OPTIONS = -fsyntax-only -fblocks -fobjc-arc -x objective-c -std=gnu99 | |
WARNINGS = -Wreturn-type -Wparentheses -Wswitch -Wno-unused-parameter -Wunused-variable -Wunused-value | |
INCLUDES = -I. -include ./*.pch | |
FRAMEWORKS = -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/System/Library/Frameworks | |
check-syntax: | |
$(CLANG) $(OPTIONS) $(ARCH) $(WARNINGS) $(SDK) $(OS_VER_MIN) $(INCLUDES) $(FRAMEWORKS) ${CHK_SOURCES} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment