]> git.saurik.com Git - cycript.git/blobdiff - Execute.mk
Rule #7
[cycript.git] / Execute.mk
index 86c106ca999d9fa4441a48fc2c24bd6c37f9bf31..2d04bab64cbad9c0dbdbcc1e5bb6d31f472c6023 100644 (file)
@@ -1,14 +1,15 @@
-CY_EXECUTE :=
+CY_EXECUTE := 1
 flags += -DCY_EXECUTE
 code += sig/ffi_type.o sig/parse.o sig/copy.o
 code += Execute.o Bridge.o
-library += $(apr) -lffi
+library += -lffi
 filters += C
+header += JavaScript.hpp
 
 Bridge.gperf: Bridge.def Bridge.sh
        ./Bridge.sh Bridge.def >Bridge.gperf
 
 Bridge.hpp: Bridge.gperf
-       gperf $< >$@
+       gperf $< | sed -e 's/defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__/0/' >$@
 
 Bridge.o: Bridge.hpp