New make target to only build the library.
authorCyprien Noel <cyprien.noel@gmail.com>
Fri, 14 Aug 2015 23:22:34 +0000 (16:22 -0700)
committerCyprien Noel <cyprien.noel@gmail.com>
Fri, 14 Aug 2015 23:22:34 +0000 (16:22 -0700)
Makefile

index 05b783a..80bc373 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -386,11 +386,13 @@ endif
 ##############################
 # Define build targets
 ##############################
-.PHONY: all test clean docs linecount lint lintclean tools examples $(DIST_ALIASES) \
+.PHONY: all lib test clean docs linecount lint lintclean tools examples $(DIST_ALIASES) \
        py mat py$(PROJECT) mat$(PROJECT) proto runtest \
        superclean supercleanlist supercleanfiles warn everything
 
-all: $(STATIC_NAME) $(DYNAMIC_NAME) tools examples
+all: lib tools examples
+
+lib: $(STATIC_NAME) $(DYNAMIC_NAME)
 
 everything: $(EVERYTHING_TARGETS)