]> git.saurik.com Git - winterboard.git/blame - makefile
Fixed naming.
[winterboard.git] / makefile
CommitLineData
cf8bb1d4
JF
1ifndef PKG_TARG
2target :=
3else
4target := $(PKG_TARG)-
5endif
6
7all: WinterBoard WinterBoard.dylib
8
9clean:
10 rm -f WinterBoard.dylib
11
12WinterBoard: *.mm makefile
13 $(target)gcc -fobjc-call-cxx-cdtors -bundle -g3 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -framework CoreFoundation -framework Foundation -framework UIKit -lobjc -fobjc-exceptions -flat_namespace -undefined suppress -I../uicaboodle.m
14
15WinterBoard.dylib: Initialization.m makefile
16 $(target)gcc -dynamiclib -g3 -O2 -Wall -Werror -o $@ $(filter %.m,$^) -framework CoreFoundation -framework Foundation -lobjc -init _WBInitialize
17
18.PHONY: all clean