]> git.saurik.com Git - winterboard.git/blob - makefile
d4deec3281f86d4a54f41d2328bdf109463e1db8
[winterboard.git] / makefile
1 ifndef PKG_TARG
2 target :=
3 else
4 target := $(PKG_TARG)-
5 endif
6
7 all: WinterBoard.dylib
8
9 clean:
10 rm -f WinterBoard.dylib
11
12 WinterBoard.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