X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Makefile;h=b09752e66931c11dfbf18b8ed01f471716773533;hb=41eff772147b6df1961d9029ba6815b553b4f81d;hp=9431cfe0c450d6b5b0c434fe720ce028acfdf795;hpb=e538a1cc66b4998b7ed7cb57b92297392c0c36d7;p=senf.git diff --git a/Makefile b/Makefile index 9431cfe..b09752e 100644 --- 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