Created
October 25, 2011 16:37
-
-
Save guehara/1313373 to your computer and use it in GitHub Desktop.
Makefile for flymake
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 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk | |
OS_VER_MIN = -miphoneos-version-min=4.3 | |
OPTIONS = -fsyntax-only -x objective-c -std=c99 -fblocks | |
WARNINGS = -Wreturn-type -Wparentheses -Wswitch -Wno-unused-parameter -Wunused-variable -Wunused-value | |
INCLUDES = -I. --include ../*.pch | |
FRAMEWORKS = -F/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.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
see
Makefile for Flymake - iOS5.1 with ARC https://gist.github.com/3445183