]> git.saurik.com Git - cycript.git/blobdiff - makefile
Continuing to attempt to get build environment to be somewhat portable.
[cycript.git] / makefile
index 2cd6880d5c503be2fea5784427379a1e85028c02..1a986ec61e6cc490a7070875a1eb2b740cf5794d 100644 (file)
--- a/makefile
+++ b/makefile
@@ -6,11 +6,7 @@ else
 target := $(PKG_TARG)-
 endif
 
-flags := -g3 -O0 -DYYDEBUG=1
-#flags := -g0 -O3
-flags += -Wall -Werror -Wno-parentheses
-flags += -fPIC -fno-common
-flags += -I. -I$(shell apr-1-config --includedir)
+flags :=
 
 svn := $(shell svnversion)
 
@@ -27,6 +23,7 @@ code := ffi_type.o parse.o
 code += Replace.o Output.o
 code += Cycript.tab.o lex.cy.o
 code += Network.o Parser.o
+code += JavaScriptCore.o Library.o
 
 filters := C
 ldid := echo
@@ -41,6 +38,12 @@ uname_p := $(shell uname -p)
 -include $(uname_s).mk
 -include $(uname_s)-$(uname_p).mk
 
+flags += -g3 -O0 -DYYDEBUG=1
+#flags += -g0 -O3
+flags += -Wall -Werror -Wno-parentheses
+flags += -fPIC -fno-common
+flags += -I. -I$(shell apr-1-config --includedir)
+
 all += libcycript.$(dll)
 
 ifdef arch