view Makefile.pmake @ 1269:97302d2a0a1d

Raise an error for the error. - Never silent fault - If it is fault, it should be fault. - Don't make fault silent. - fix the fault. - the ID should be in the map, but it is not. It is really a fault.
author Thinker K.F. Li <thinker@codemud.net>
date Wed, 12 Jan 2011 20:59:38 +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