Skip to content

Instantly share code, notes, and snippets.

@guehara
Created October 25, 2011 16:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guehara/1313373 to your computer and use it in GitHub Desktop.
Save guehara/1313373 to your computer and use it in GitHub Desktop.
Makefile for flymake
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}
@guehara
Copy link
Author

guehara commented Aug 24, 2012

see
Makefile for Flymake - iOS5.1 with ARC https://gist.github.com/3445183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment