summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/makefile b/makefile
index 095831e..d437f41 100644
--- a/makefile
+++ b/makefile
@@ -12,8 +12,16 @@ endif
flags :=
link :=
-#dpkg := /Library/Cydia/bin/dpkg-deb -Zlzma
+ifeq (o,O) # gzip is actually better
+dpkg := /Library/Cydia/bin/dpkg-deb
+ifeq ($(wildcard $(dpkg)),$(dpkg))
+dpkg := $(dpkg) -zlzma
+else
+dpkg := dpkg-deb -zbzip2
+endif
+else
dpkg := dpkg-deb
+endif
sdk := $(sdks)/iPhoneOS$(ios).sdk