view Makefile @ 134:4d2e28188460

-
author Thinker K.F. Li <thinker@branda.to>
date Wed, 17 Sep 2008 19:47:10 +0800
parents
children 9af23d9584d8
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