X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/8ba636c7efd0a50d05c87d164ca8018a40f738d4..fa2eb8da9f46250a81ebbf7fff8c6173fcad6c3d:/makefile diff --git a/makefile b/makefile index 372e21a8..05197397 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,4 @@ -dev := /Developer/Platforms/iPhoneOS.platform/Developer +dev := $(shell xcode-select --print-path)/Platforms/iPhoneOS.platform/Developer sdks := $(dev)/SDKs ioss := $(sort $(patsubst $(sdks)/iPhoneOS%.sdk,%,$(wildcard $(sdks)/iPhoneOS*.sdk))) ios := $(word $(words $(ioss)),$(ioss)) @@ -128,7 +128,7 @@ Objects/%.o: %.mm $(header) @echo "[cycc] $<" @$(cycc) -c $< $(flags) $(xflags) -Objects/Version.o: version.h +Objects/Version.o: Version.h Images/%.png: %.png @mkdir -p $(dir $@) @@ -161,7 +161,7 @@ postinst: postinst.mm Sources.mm Sources.h CyteKit/stringWithUTF8Bytes.mm CyteKi $(cycc) $(filter %.mm,$^) $(flags) $(link) -framework CoreFoundation -framework Foundation -framework UIKit -lpcre @ldid -T0 -S $@ -debs/cydia_$(version)_iphoneos-arm.deb: MobileCydia preinst postinst cfversion $(images) $(shell find MobileCydia.app) cydia.control Library/firmware.sh +debs/cydia_$(version)_iphoneos-arm.deb: MobileCydia preinst postinst cfversion $(images) $(shell find MobileCydia.app) cydia.control Library/firmware.sh Library/startup sudo rm -rf _ mkdir -p _/var/lib/cydia