Skip to content

Instantly share code, notes, and snippets.

View selimanac's full-sized avatar

Selim Anaç selimanac

View GitHub Profile
@selimanac
selimanac / Makefile
Created October 13, 2018 15:58 — forked from j0sh/Makefile
iOS static library cross-compile script.
# iOS builds for ARMv7 and simulator i386.
# Assumes any dependencies are in a local folder called libs and
# headers in a local folder called headers.
# Dependencies should already have been compiled for the target arch.
PROJ=untitled
ifeq ($(IOS), 1)
ARCH=armv7
DEVICE=OS
CC_FLAGS=-arch $(ARCH)