]> git.saurik.com Git - winterboard.git/blame - makefile
This was so easy I can't believe no one else did it already.
[winterboard.git] / makefile
CommitLineData
cf8bb1d4
JF
1ifndef PKG_TARG
2target :=
3else
4target := $(PKG_TARG)-
5endif
6
d5168fd6 7all: WinterBoard.dylib
cf8bb1d4
JF
8
9clean:
10 rm -f WinterBoard.dylib
11
d5168fd6
JF
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
cf8bb1d4
JF
14
15.PHONY: all clean