]> git.saurik.com Git - winterboard.git/blame_incremental - makefile
This was so easy I can't believe no one else did it already.
[winterboard.git] / makefile
... / ...
CommitLineData
1ifndef PKG_TARG
2target :=
3else
4target := $(PKG_TARG)-
5endif
6
7all: WinterBoard.dylib
8
9clean:
10 rm -f WinterBoard.dylib
11
12WinterBoard.dylib: WinterBoard.mm makefile
13 $(target)g++ -dynamiclib -g3 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -framework CoreFoundation -framework Foundation -lobjc -init _WBInitialize -I/apl/inc/iPhoneOS-2.0 -framework UIKit
14
15.PHONY: all clean