aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorcomex2015-03-01 13:20:08 -0500
committercomex2015-03-01 13:20:08 -0500
commit471eb472dbd3462b6a5ab21f85621e16c411709b (patch)
tree1e682ade28b4a49ab8894a19c5205b59d1e73cc9 /Makefile
parentAdd extra argument to substitute_hook_functions and interpose_imports for use... (diff)
downloadsubstitute-471eb472dbd3462b6a5ab21f85621e16c411709b.tar.gz
add vec
Diffstat (limited to '')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index efef980..7d25c61 100644
--- a/Makefile
+++ b/Makefile
@@ -70,6 +70,7 @@ LIB_OBJS := \
out/darwin/read.o \
out/darwin/substrate-compat.o \
out/darwin/execmem.o \
+ out/cbit/vec.o \
out/jump-dis.o \
out/transform-dis.o \
out/hook-functions.o \
@@ -143,6 +144,7 @@ $(eval $(call define_test,execmem,execmem,$(CC) -std=c11 out/darwin/execmem.o -s
$(eval $(call define_test,hook-functions,hook-functions,$(CC) -std=c11 -lsubstitute -segprot __TEST rwx rx))
$(eval $(call define_test,posixspawn-hook,posixspawn-hook,$(CC) -std=c11))
$(eval $(call define_test,htab,htab,$(CC) -std=c11))
+$(eval $(call define_test,vec,vec,$(CXX) -std=c++98 out/cbit/vec.o))
out/injected-test-dylib.dylib: test/injected-test-dylib.c Makefile
$(CC) -std=c11 -dynamiclib -o $@ $<