# These variables are configurable.
#---------------------------------------#
DIRS := census clients commands data deity land misc nuke parse plane ship update util  
#---------------------------------------#

.PHONY: all depend clean dependall cleanall

include ../make/UtilMakefile

# Productions:
#	all: Make everything
#	depend: Modify the makefiles to reflect the local setup.
#	dependall: Make depend in all the directories.
#	cleanall: Make clean in all the directories.
#	archall: (If the ARCH env var is set).  mkdir $ARCH in all subdirs.

all: dirs

dependall:
	$(MAKE) COMMAND=depend recursive

cleanall:
	$(MAKE) COMMAND=clean recursive

checkinall:
	$(MAKE) COMMAND=checkin recursive

editinall:
	$(MAKE) COMMAND=editin recursive

checkoutall:
	$(MAKE) COMMAND=checkout recursive

editoutall:
	$(MAKE) COMMAND=editout recursive

install:
	
ifdef ARCH
depend:
	@-mkdir $(ARCH)

archall:
	$(MAKE) COMMAND=arch recursive
endif
