Do not build unit tests by default with make (#233).

This commit is contained in:
EinMByte 2015-07-27 14:42:53 +02:00
parent e70f0d999f
commit 9c03be08da
2 changed files with 49 additions and 33 deletions

View file

@ -23,10 +23,12 @@ else # win32
DAEMON_SRC += DaemonWin32.cpp
endif
all: mk_build_dir $(SHLIB) $(I2PD) $(TESTS)
all: mk_build_dir $(SHLIB) $(I2PD)
tests: mk_build_test_dir $(TESTS)
mk_build_dir:
mkdir -p obj
mk_build_test_dir:
mkdir -p obj/tests
api: $(SHLIB)
@ -74,8 +76,10 @@ dist:
--prefix=i2pd_$(LATEST_TAG)/ $(LATEST_TAG) -o i2pd_$(LATEST_TAG).tar.gz
.PHONY: all
.PHONY: tests
.PHONY: clean
.PHONY: deps
.PHONY: dist
.PHONY: api
.PHONY: mk_build_dir
.PHONY: mk_build_test_dir