[Assorted-commits] SF.net SVN: assorted:[922] sandbox/trunk/src
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-08-02 04:38:20
|
Revision: 922 http://assorted.svn.sourceforge.net/assorted/?rev=922&view=rev Author: yangzhang Date: 2008-08-02 04:38:29 +0000 (Sat, 02 Aug 2008) Log Message: ----------- added make sandbox; added a simple join-path demo Added Paths: ----------- sandbox/trunk/src/make/ sandbox/trunk/src/make/join-path.mk Added: sandbox/trunk/src/make/join-path.mk =================================================================== --- sandbox/trunk/src/make/join-path.mk (rev 0) +++ sandbox/trunk/src/make/join-path.mk 2008-08-02 04:38:29 UTC (rev 922) @@ -0,0 +1,10 @@ +# This is how to join a space-separate list into a PATH-like, colon-separated +# list. + +empty := +space := $(empty) $(empty) +xs := a b c d +x := $(subst $(space),:,$(xs)) + +all: + @echo $(x) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |