X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/9185d5ef70289d99e212f2dd04457b05716e222e..dfa452c24c8748686523f5bd40436815ba516d95:/makefile diff --git a/makefile b/makefile index 2f95a53..4a7ded5 100644 --- a/makefile +++ b/makefile @@ -29,8 +29,8 @@ filters := C ldid := echo dll := so apr := $(shell apr-1-config --link-ld) -library := $(apr) -lffi #-lsubstrate -link := $(apr) -lreadline +library := $(apr) -lffi +console := $(apr) -lreadline uname_s := $(shell uname -s) uname_p := $(shell uname -p) @@ -110,11 +110,11 @@ lex.cy.o: lex.cy.c Cycript.tab.hh Parser.hpp Pooling.hpp $(target)g++ $(flags) -c -o $@ $< libcycript.$(dll): $(code) - $(target)g++ $(flags) -shared -dynamiclib -o $@ $(filter %.o,$^) $(library) + $(target)g++ $(flags) -shared -dynamiclib -o $@ $(filter %.o,$^) $(library) $(link) $(ldid) -S $@ cycript: Console.o libcycript.$(dll) - $(target)g++ $(flags) -o $@ $(filter %.o,$^) -L. -lcycript $(link) + $(target)g++ $(flags) -o $@ $(filter %.o,$^) -L. -lcycript $(console) $(link) $(ldid) -S cycript package: $(deb)