Revision: 1517
http://svn.sourceforge.net/complement/?rev=1517&view=rev
Author: complement
Date: 2007-02-06 07:01:03 -0800 (Tue, 06 Feb 2007)
Log Message:
-----------
expand 'for' within make
Modified Paths:
--------------
trunk/complement/explore/Makefiles/gmake/subdirs.mak
Modified: trunk/complement/explore/Makefiles/gmake/subdirs.mak
===================================================================
--- trunk/complement/explore/Makefiles/gmake/subdirs.mak 2007-02-06 14:36:17 UTC (rev 1516)
+++ trunk/complement/explore/Makefiles/gmake/subdirs.mak 2007-02-06 15:01:03 UTC (rev 1517)
@@ -1,6 +1,6 @@
# Time-stamp: <06/11/01 22:55:23 ptr>
#
-# Copyright (c) 2006
+# Copyright (c) 2006, 2007
# Petr Ovtchenkov
#
# Licensed under the Academic Free License version 3.0
@@ -8,7 +8,5 @@
# Do the same target in all catalogs as arg
define doinsubdirs
-for d in $(1); do \
- ${MAKE} -C $$d $@ || exit -1; \
-done
+$(foreach d,$(1),${MAKE} -C ${d} $@;)
endef
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|