summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-11-25 13:59:41 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2010-11-25 13:59:41 -0800
commite95a19724bdbf476044620d78068dc09aa28fff2 (patch)
treeb7ce47e860021caf2a7d4012647b2abe7d3bd7be /makefile
parentab7d3c400b2792d99c58d1585d74b07b5e3dd995 (diff)
Add lookup3 to Cydia's build environment.
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/makefile b/makefile
index a3c3b6f..b96733f 100644
--- a/makefile
+++ b/makefile
@@ -53,8 +53,11 @@ all: MobileCydia
clean:
rm -f MobileCydia
-MobileCydia: MobileCydia.mm UICaboodle/*.h UICaboodle/*.mm iPhonePrivate.h
- $(cycc) $(filter %.mm,$^) $(flags) $(link) $(uikit)
+%.o: %.c
+ $(cycc) -c -o $@ -x c $<
+
+MobileCydia: MobileCydia.mm UICaboodle/*.h UICaboodle/*.mm iPhonePrivate.h lookup3.o
+ $(cycc) $(filter %.mm,$^) $(filter %.o,$^) $(flags) $(link) $(uikit)
ldid -Slaunch.xml $@ || { rm -f $@ && false; }
CydiaAppliance: CydiaAppliance.mm