summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 518ffbd..3df03f7 100644
--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,7 @@ LIBDIR ?= $(PREFIX)/lib
INCLUDEDIR=$(PREFIX)/include
PRGDIR = programs
LZ4DIR = lib
+TESTDIR = tests
# Define nul output
@@ -64,6 +65,7 @@ lz4:
clean:
@$(MAKE) -C $(PRGDIR) $@ > $(VOID)
+ @$(MAKE) -C $(TESTDIR) $@ > $(VOID)
@$(MAKE) -C $(LZ4DIR) $@ > $(VOID)
@$(MAKE) -C examples $@ > $(VOID)
@$(MAKE) -C versionsTest $@ > $(VOID)
@@ -88,7 +90,7 @@ travis-install:
sudo $(MAKE) install
test:
- $(MAKE) -C $(PRGDIR) test
+ $(MAKE) -C $(TESTDIR) test
cmake:
@cd contrib/cmake_unofficial; cmake CMakeLists.txt; $(MAKE)
@@ -108,6 +110,7 @@ staticAnalyze: clean
armtest: clean
CFLAGS="-O3 -Werror" $(MAKE) -C $(LZ4DIR) all CC=arm-linux-gnueabi-gcc
CFLAGS="-O3 -Werror" $(MAKE) -C $(PRGDIR) bins CC=arm-linux-gnueabi-gcc
+ CFLAGS="-O3 -Werror" $(MAKE) -C $(TESTDIR) bins CC=arm-linux-gnueabi-gcc
versionsTest: clean
$(MAKE) -C versionsTest