Rev 922 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download
# Supported environments:# GNU/Linux.## Used tools:# GNU core utilities.PROGS = snake tank tetris smb untangle wolf3d br ericDOC =INSTALLDIR ?= ../../release/nedogameDOC_INSTALLDIR = ${INSTALLDIR}/doc.PHONY: ${PROGS} empty all install install-doc clean.DEFAULT_GOAL=allempty:@echo 'Usage: make [ TARGET | all | clean | install | install-doc ]'@echo '(TARGET is one of: ${PROGS})'${PROGS}:${MAKE} -w -C $@${sort \${INSTALLDIR} \${DOC_INSTALLDIR} \}:mkdir -p $@ || echoall: ${PROGS}install: | ${INSTALLDIR}for d in ${PROGS}; do ${MAKE} -w -C $$d $@; doneifeq "${DOC}" ""install-doc:elseinstall-doc: ${DOC} | ${DOC_INSTALLDIR}cp $^ $|endiffor d in ${PROGS}; do ${MAKE} -w -C $$d $@; doneclean:for d in ${PROGS}; do ${MAKE} -w -C $$d $@; done