aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/makefile
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-11-05 18:11:02 +0000
committerbloodstalker <thabogre@gmail.com>2017-11-05 18:11:02 +0000
commit42a6aea4c06b2e03f489ee1d9419da5e8386792f (patch)
tree1b336e251c8c29c45efffeaaf4fb668ab09aa71b /bruiser/makefile
parentupdateds (diff)
downloadmutator-42a6aea4c06b2e03f489ee1d9419da5e8386792f.tar.gz
mutator-42a6aea4c06b2e03f489ee1d9419da5e8386792f.zip
now you can run load.py from bruiser.
Diffstat (limited to 'bruiser/makefile')
-rw-r--r--bruiser/makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/bruiser/makefile b/bruiser/makefile
index 278da47..6fe4c60 100644
--- a/bruiser/makefile
+++ b/bruiser/makefile
@@ -3,7 +3,7 @@
include ../macros.mk
#######################################VARS####################################
-CXX_FLAGS+=-I/usr/include
+CXX_FLAGS+=-I/usr/include -I/usr/include/python3.5m
BRUISER=bruiser
LUA?=JIT
LIB_LUA=./lua-5.3.4/src/liblua.a
@@ -11,7 +11,8 @@ LIB_LUA_JIT=./LuaJIT/src/libluajit.a
HEADER_LIST=bruiser.h bruiser-extra.h CompletionHints.h
SRCS=bruiser.cpp, CompletionHints.cpp, ORCmutation.cpp, mutagen.cpp
#for some reason without ld the build fails on ubuntu trusty on travis
-EXTRA_LD_FLAGS+=-ldl
+#EXTRA_LD_FLAGS+=-lpthread -ldl -lutil -lm -Xlinker -lpython3
+EXTRA_LD_FLAGS+=$(shell python3-config --ldflags)
######################################RULES####################################
.DEFAULT: all
@@ -56,4 +57,5 @@ help:
@echo 'there is help.'
@echo 'all is the defualt target.'
@echo 'clean runs clean.'
+ @echo 'deepclean will also clean the lua build'
@echo 'for a more complete and detaild list of BUILD_MODE and other things look at the main makefiles help under project root.'