diff options
author | bloodstalker <thabogre@gmail.com> | 2017-05-13 19:27:53 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-05-13 19:27:53 +0000 |
commit | de3dd06d6f161e95a20f3d8a98d27114124c37e6 (patch) | |
tree | 91223af8e1176551c63d7a6f5f26f251ca8d8866 /bruiser/makefile | |
parent | some deletions of ncurses remnants, added some skeletons for the selective no... (diff) | |
download | mutator-de3dd06d6f161e95a20f3d8a98d27114124c37e6.tar.gz mutator-de3dd06d6f161e95a20f3d8a98d27114124c37e6.zip |
now builds liblua
Diffstat (limited to '')
-rw-r--r-- | bruiser/makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/bruiser/makefile b/bruiser/makefile index d296672..b74c686 100644 --- a/bruiser/makefile +++ b/bruiser/makefile @@ -4,9 +4,9 @@ include ../macros.mk #######################################VARS#################################### CXX_FLAGS+=-I/usr/include -EXTRA_LD_FLAGS+=-lncurses +EXTRA_LD_FLAGS+=-L$(shell pwd)/lua-5.3.4/src/ -llua -ldl BRUISER=bruiser - +LIB_LUA=./lua-5.3.4/src/liblua.a ######################################RULES#################################### .DEFAULT: all @@ -20,17 +20,18 @@ all: $(BRUISER) linenoise.o: $(CC) $(CC_FLAGS) linenoise/linenoise.c -c -o linenoise.o -lua: - $(MAKE) -C lua-5.3.4 +$(LIB_LUA): + $(MAKE) -C lua-5.3.4 linux -$(BRUISER): $(BRUISER).o ../mutator_aux.o ../tinyxml2/tinyxml2.o linenoise.o +$(BRUISER): $(BRUISER).o ../mutator_aux.o ../tinyxml2/tinyxml2.o linenoise.o $(LIB_LUA) $(CXX) $^ $(LD_FLAGS) -o $@ clean: rm -f *.o *~ $(BRUISER) + $(MAKE) -C lua-5.3.4 clean help: - @echo 'There is help.' - @echo 'All is the defualt target.' - @echo 'Clean runs clean.' - @echo 'For a more complete and detaild list of BUILD_MODE and other things look at the main makefiles help under project root.' + @echo 'there is help.' + @echo 'all is the defualt target.' + @echo 'clean runs clean.' + @echo 'for a more complete and detaild list of BUILD_MODE and other things look at the main makefiles help under project root.' |