russell: trunk r167 - /trunk/Makefile
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Fri Dec 15 15:31:54 MST 2006
Author: russell
Date: Fri Dec 15 16:31:52 2006
New Revision: 167
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=167
Log:
use a separate target for each sub directory instead of a shell for loop
Modified:
trunk/Makefile
Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk-gui/trunk/Makefile?view=diff&rev=167&r1=166&r2=167
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Fri Dec 15 16:31:52 2006
@@ -109,10 +109,10 @@
@echo " + $(MAKE) install +"
@echo " +-------------------------------------------+"
-_all: makeopts
- @for x in $(SUBDIRS); do \
- $(MAKE) -C $$x all ; \
- done
+_all: makeopts $(SUBDIRS)
+
+$(SUBDIRS):
+ @$(MAKE) -C $@
checkconfig:
@echo " --- Checking Asterisk configuration to see if it will support the GUI ---"
@@ -280,4 +280,4 @@
@echo "****"
@exit 1
-.PHONY: samples clean all install _all _install checkconfig distclean $(SUBDIRS_CLEAN) $(SUBDIRS_INSTALL)
+.PHONY: samples clean all install _all _install checkconfig distclean $(SUBDIRS_CLEAN) $(SUBDIRS_INSTALL) $(SUBDIRS)
More information about the asterisk-gui-commits
mailing list