]> git.saurik.com Git - winterboard.git/blobdiff - makefile
Add backwards compatibility mode for Icons/SMS.png, remove English_ in not SummerBoar...
[winterboard.git] / makefile
index 75594fd265fe35b4a55291521ecf4592d0a067e0..9e4b07b08f89aee22d9c98703da6afc572d2bb05 100644 (file)
--- a/makefile
+++ b/makefile
@@ -4,6 +4,8 @@ else
 target := $(PKG_TARG)-
 endif
 
+substrate := -I../mobilesubstrate -L../mobilesubstrate -lsubstrate
+
 all: WinterBoard WinterBoard.dylib UIImages WinterBoardSettings Optimize
 
 clean:
@@ -14,11 +16,11 @@ WinterBoardSettings: Settings.mm makefile
        ldid -S $@
 
 WinterBoard.dylib: Library.mm makefile ../mobilesubstrate/substrate.h
-       $(target)g++ -dynamiclib -g0 -O2 -Wall -o $@ $(filter %.mm,$^) -framework CoreFoundation -framework Foundation -lobjc -init _WBInitialize -I/apl/inc/iPhoneOS-2.0 -framework CoreGraphics -framework GraphicsServices -framework Celestial -I../mobilesubstrate -L../mobilesubstrate -lsubstrate -framework UIKit -F$(PKG_ROOT)/System/Library/PrivateFrameworks
+       $(target)g++ -dynamiclib -g0 -O2 -Wall -o $@ $(filter %.mm,$^) -framework CoreFoundation -framework Foundation -lobjc -init _WBInitialize -I/apl/inc/iPhoneOS-2.0 -framework CoreGraphics -framework GraphicsServices -framework Celestial $(substrate) -framework UIKit -F$(PKG_ROOT)/System/Library/PrivateFrameworks
        ldid -S $@
 
 UIImages: UIImages.mm makefile
-       $(target)g++ -g0 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -framework UIKit -framework Foundation -framework CoreFoundation -lobjc -I/apl/inc/iPhoneOS-2.0
+       $(target)g++ -g0 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -framework UIKit -framework Foundation -framework CoreFoundation -lobjc -I/apl/inc/iPhoneOS-2.0 $(substrate)
        ldid -S $@
 
 WinterBoard: Application.mm makefile