diff options
author | bloodstalker <thabogre@gmail.com> | 2017-06-10 16:08:01 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-06-10 16:08:01 +0000 |
commit | a219c076a3a28beeca83eb7d93e039895e708f00 (patch) | |
tree | 2c4a18bb00bd40a1fcb73be6aec58e0393214149 | |
parent | updated help (diff) | |
download | mutator-a219c076a3a28beeca83eb7d93e039895e708f00.tar.gz mutator-a219c076a3a28beeca83eb7d93e039895e708f00.zip |
now builds luajit as well
-rw-r--r-- | bruiser/makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bruiser/makefile b/bruiser/makefile index 3888831..8b3b231 100644 --- a/bruiser/makefile +++ b/bruiser/makefile @@ -7,6 +7,7 @@ CXX_FLAGS+=-I/usr/include EXTRA_LD_FLAGS+=-L$(shell pwd)/lua-5.3.4/src/ -llua -ldl BRUISER=bruiser LIB_LUA=./lua-5.3.4/src/liblua.a +LIB_LUA_JIT=./LuaJIT/src/libluajit.a HEADER_LIST=bruiser.h bruiser-extra.h CompletionHints.h ######################################RULES#################################### .DEFAULT: all @@ -24,12 +25,16 @@ linenoise.o: $(LIB_LUA): $(MAKE) -C lua-5.3.4 linux -$(BRUISER): $(BRUISER).o ../mutator_aux.o ../tinyxml2/tinyxml2.o linenoise.o CompletionHints.o $(LIB_LUA) +$(LIB_LUA_JIT): + $(MAKE) -C LuaJIT + +$(BRUISER): $(BRUISER).o ../mutator_aux.o ../tinyxml2/tinyxml2.o linenoise.o CompletionHints.o $(LIB_LUA) $(LIB_LUA_JIT) $(CXX) $^ $(LD_FLAGS) -o $@ clean: rm -f *.o *~ $(BRUISER) $(MAKE) -C lua-5.3.4 clean + $(MAKE) -C LuaJIT clean help: @echo 'there is help.' |