Main.SideBar (edit)
|
Main /
MakeHere is a makefile for Make that recursivly calls make on each subdirectory in a list
# make all directories
# if make finds the target it thinks it is up-to-date so
# each target is prefixed with a "_" this is then srtipped
# off by the tr command
#
# Chris Hunter
# April 2006
#
DIRS = _dir1 _dir2 _dir3
all : $(DIRS)
$(DIRS) .MAKE .ALWAYS :
#following line starts with a tab character
cd `echo $@ | tr -d _` ; ${MAKE}
|