Merge branch 'makefile'

This commit is contained in:
Ștefan Talpalaru 2019-07-24 16:05:43 +02:00
commit fbb13d5f09
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ p2pd: | deps
test: | build deps nat-libs test: | build deps nat-libs
bash ../../nimble.sh test $(NIM_PARAMS) bash ../../nimble.sh test $(NIM_PARAMS)
$(TOOLS): | build deps nat-libs $(TOOLS): | build deps nat-libs p2pd
for D in $(TOOLS_DIRS); do [ -e "$${D}/$@.nim" ] && TOOL_DIR="$${D}" && break; done && \ for D in $(TOOLS_DIRS); do [ -e "$${D}/$@.nim" ] && TOOL_DIR="$${D}" && break; done && \
echo -e $(BUILD_MSG) "build/$@" && \ echo -e $(BUILD_MSG) "build/$@" && \
$(ENV_SCRIPT) nim c $(NIM_PARAMS) -o:build/$@ "$${TOOL_DIR}/$@.nim" $(ENV_SCRIPT) nim c $(NIM_PARAMS) -o:build/$@ "$${TOOL_DIR}/$@.nim"