view Makefile.pmake @ 1285:e2d2532c3115

Replace a workaround with a more semantic one. - In old implementation, it has not clear intention in the syntax. - I move the line doing real works into the try-except block to emphasize the intention of skipping scene nodes that is incomplete.
author Thinker K.F. Li <thinker@codemud.net>
date Sat, 15 Jan 2011 18:32:33 +0800
parents 042580eb6e6c
children
line wrap: on
line source

SUBDIRS= src tools

all:
.for i in $(SUBDIRS)
	@echo "==> Enter subdirectory $(i)"
	@cd ${i}; $(MAKE) $@
	@echo "<== Leave subdirectory $(i)"
.endfor

install:
.for i in $(SUBDIRS)
	@echo "==> Enter subdirectory $(i)"
	@cd ${i}; $(MAKE) $@
	@echo "<== Leave subdirectory $(i)"
.endfor

clean:
.for i in $(SUBDIRS)
	@echo "==> Enter subdirectory $(i)"
	@cd ${i}; $(MAKE) $@
	@echo "<== Leave subdirectory $(i)"
.endfor