]>
Commit | Line | Data |
---|---|---|
cf8bb1d4 JF |
1 | ifndef PKG_TARG |
2 | target := | |
3 | else | |
4 | target := $(PKG_TARG)- | |
5 | endif | |
6 | ||
7 | all: WinterBoard WinterBoard.dylib | |
8 | ||
9 | clean: | |
10 | rm -f WinterBoard.dylib | |
11 | ||
12 | WinterBoard: *.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 | ||
15 | WinterBoard.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 |