summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8cf6f8a..c0b7a6f 100644
--- a/Makefile
+++ b/Makefile
@@ -92,6 +92,8 @@ SOURCES = $(TEXT) $(NONTEXT)
# Select test target for Travis CI's Build Matrix
ifeq ($(LZ4_TRAVIS_CI_ENV),-dist)
TRAVIS_TARGET=dist
+else ifeq ($(LZ4_TRAVIS_CI_ENV),-cmake)
+TRAVIS_TARGET=cmake
else ifeq ($(LZ4_TRAVIS_CI_ENV),-examples)
TRAVIS_TARGET=examples
else
@@ -181,6 +183,9 @@ test:
test-travis: $(TRAVIS_TARGET)
+cmake:
+ @cd cmake_unofficial; cmake CMakeLists.txt; $(MAKE)
+
examples:
cd examples; $(MAKE) -e test