X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/794e88e774e5cf637db5199e4d9c6665b4fc5673..49e976ae47b9d4bb43b102466140c4229a5ac0ca:/makefile diff --git a/makefile b/makefile index 3df4450..7937141 100644 --- a/makefile +++ b/makefile @@ -6,6 +6,8 @@ else target := $(PKG_TARG)- endif +prefix := /usr + gcc := g++ flags ?= -g3 -O0 -DYYDEBUG=1 @@ -23,7 +25,7 @@ ifneq ($(dpkg_architecture),) arch := $(shell $(dpkg_architecture) -qDEB_HOST_ARCH 2>/dev/null) endif -header := Cycript.tab.hh Parser.hpp Pooling.hpp cycript.hpp Internal.hpp Error.hpp String.hpp Exception.hpp Standard.hpp +header := Cycript.tab.hh Parser.hpp Pooling.hpp List.hpp Local.hpp cycript.hpp Internal.hpp Error.hpp String.hpp Exception.hpp Standard.hpp code := code += Replace.o Output.o @@ -101,11 +103,11 @@ $(deb): $(all) control rm -rf package mkdir -p package/DEBIAN cp -pR control package/DEBIAN - mkdir -p package/usr/{bin,lib,sbin} + mkdir -p package$(prefix)/{bin,lib,sbin} $(restart) extra - cp -pR $(lib)cycript.$(dll) package/usr/lib - cp -pR cycript package/usr/bin - #cp -pR cyrver package/usr/sbin + cp -pR $(lib)cycript.$(dll) package$(prefix)/lib + cp -pR cycript package$(prefix)/bin + #cp -pR cyrver package$(prefix)/sbin dpkg-deb -b package $(deb) endif