From 423f8cb9332c025bce60a40dc6efaf49abc59de9 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 30 Apr 2008 04:59:47 +0000 Subject: [PATCH 1/1] Factored out common code to common subproject. --- RVBook.h => UICaboodle/RVBook.h | 0 RVBook.mm => UICaboodle/RVBook.mm | 0 RVPage.h => UICaboodle/RVPage.h | 0 RVPage.mm => UICaboodle/RVPage.mm | 0 UICaboodle.h => UICaboodle/UICaboodle.h | 0 makefile | 4 ++-- 6 files changed, 2 insertions(+), 2 deletions(-) rename RVBook.h => UICaboodle/RVBook.h (100%) rename RVBook.mm => UICaboodle/RVBook.mm (100%) rename RVPage.h => UICaboodle/RVPage.h (100%) rename RVPage.mm => UICaboodle/RVPage.mm (100%) rename UICaboodle.h => UICaboodle/UICaboodle.h (100%) diff --git a/RVBook.h b/UICaboodle/RVBook.h similarity index 100% rename from RVBook.h rename to UICaboodle/RVBook.h diff --git a/RVBook.mm b/UICaboodle/RVBook.mm similarity index 100% rename from RVBook.mm rename to UICaboodle/RVBook.mm diff --git a/RVPage.h b/UICaboodle/RVPage.h similarity index 100% rename from RVPage.h rename to UICaboodle/RVPage.h diff --git a/RVPage.mm b/UICaboodle/RVPage.mm similarity index 100% rename from RVPage.mm rename to UICaboodle/RVPage.mm diff --git a/UICaboodle.h b/UICaboodle/UICaboodle.h similarity index 100% rename from UICaboodle.h rename to UICaboodle/UICaboodle.h diff --git a/makefile b/makefile index 2f482720..d196f27b 100644 --- a/makefile +++ b/makefile @@ -14,7 +14,7 @@ test: all exec: exec.mm makefile $(target)g++ -Wall -Werror -o $@ $< -framework Foundation -framework CoreFoundation -lobjc -Cydia: Cydia.mm RVBook.mm RVPage.mm *.h makefile - $(target)g++ -fobjc-call-cxx-cdtors -g3 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -framework UIKit -framework IOKit -framework CoreFoundation -framework Foundation -framework CoreGraphics -framework GraphicsServices -framework LayerKit -lobjc -lapt-pkg -lpcre -fobjc-exceptions -I/apl/i20 -F$${PKG_ROOT}/System/Library/PrivateFrameworks +Cydia: Cydia.mm ../uicaboodle.m/*.mm *.h makefile + $(target)g++ -I../uicaboodle.m -fobjc-call-cxx-cdtors -g3 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -framework UIKit -framework IOKit -framework CoreFoundation -framework Foundation -framework CoreGraphics -framework GraphicsServices -framework LayerKit -lobjc -lapt-pkg -lpcre -fobjc-exceptions -I/apl/i20 -F$${PKG_ROOT}/System/Library/PrivateFrameworks .PHONY: all clean test -- 2.45.2