Permalink
Browse files

Modified Makefile to be more customizable.

  • Loading branch information...
1 parent 49332f1 commit 55377ff026ca3dbd8465e4b42b9be89ac8c936c8 @ndbroadbent committed Nov 4, 2010
Showing with 7 additions and 4 deletions.
  1. +7 −4 src/Makefile
View
11 src/Makefile
@@ -1,9 +1,12 @@
+iPhonePrivateFrameworksPath=/Users/nathanB/src/iphone-private-frameworks
+networkpxPath=../../networkpx-read-only
+
iPhoneDevPath=/Developer/Platforms/iPhoneOS.platform/Developer
iPhoneSDKPath=$(iPhoneDevPath)/SDKs/iPhoneOS3.2.sdk
iPhoneSimDevPath=/Developer/Platforms/iPhoneSimulator.platform/Developer
iPhoneSimSDKPath=$(iPhoneSimDevPath)/SDKs/iPhoneSimulator3.2.sdk
MobileSubstratePath=../deb/Library/MobileSubstrate/DynamicLibraries
-SharedSrcPath=../../src
+SharedSrcPath=$(networkpxPath)/src
PrefsBundlePath=../deb/System/Library/PreferenceBundles
Compiler=$(iPhoneDevPath)/usr/bin/gcc-4.2
@@ -15,8 +18,8 @@ Options=-arch armv6 \
-F$(iPhoneSDKPath)/System/Library/PrivateFrameworks \
-I$(iPhoneDevPath)/usr/include/gcc/darwin/default \
-I$(iPhoneSDKPath)/usr/lib/gcc/arm-apple-darwin9/4.2.1/include \
- -I../../include \
- -I/Users/nathanB/src/iphone-private-frameworks \
+ -I$(networkpxPath)/include \
+ -I$(iPhonePrivateFrameworksPath) \
-L/usr/local/lib \
-Wall \
-L../deb/usr/lib \
@@ -32,7 +35,7 @@ QuickScroll_Sources=QS2.o
QuickScroll_Target=$(MobileSubstratePath)/QuickScroll.dylib
QuickScroll_Options=-dynamiclib -framework CoreFoundation -framework Foundation -framework UIKit -framework CoreGraphics
-Prefs_Sources=Pref.o ../../hk.kennytm.grip/src/GPGetSmallAppIcon.o
+Prefs_Sources=Pref.o $(networkpxPath)/hk.kennytm.grip/src/GPGetSmallAppIcon.o
Prefs_Target=$(PrefsBundlePath)/QuickScroll.bundle/QuickScroll
Prefs_Options=-bundle -framework CoreFoundation -framework Foundation -framework UIKit -framework CoreGraphics -framework SpringBoardServices -framework Preferences

0 comments on commit 55377ff

Please sign in to comment.