]> git.saurik.com Git - winterboard.git/blob - makefile
This was so easy I can't believe no one else did it already.
[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