view Makefile.pmake @ 385:28e822aa84e5

Debian packaging script
author Ben Lau <xbenlau@gmail.com>
date Thu, 09 Apr 2009 21:11:29 +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