Packets documentation updates
[senf.git] / Makefile
index 9431cfe..b09752e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,13 @@
 # Some SCONS shortcuts
 #----------------------------------------------------------------------
 
-CONCURRENCY_LEVEL ?= 1
+CONCURRENCY_LEVEL ?= 2
 
-SCONS=scons -j $(CONCURRENCY_LEVEL)
+ifdef final
+  FINAL = "final=1"
+endif
+
+SCONS=scons -j $(CONCURRENCY_LEVEL) $(FINAL)
 
 default: build
 
@@ -16,6 +20,12 @@ clean:
 
 all_docs all_tests all:
        $(SCONS) $@
+       
+%/test %/doc:
+       $(SCONS) $@
+
+%/build:
+       $(SCONS) $*
 
 #----------------------------------------------------------------------
 # Subversion stuff