summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
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