# These variables are configurable.
#---------------------------------------#
DIRS := player update commands subs common gen global as lwp
#---------------------------------------#

.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

clean:

dependall:
	$(MAKE) COMMAND=depend recursive

cleanall:
	$(MAKE) COMMAND=clean recursive

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

archall:
	$(MAKE) COMMAND=arch recursive
endif
