Makefile
author darope
Fri Feb 18 20:52:34 2005 +0000 (2005-02-18)
changeset 247 2b1bf332bf41
parent 0 d15304fcb7a7
child 284 ca90ccdb8d49
permissions -rw-r--r--
Merged working branch to main trunk for release 1.17.4
     1 # vi: set ts=4 sw=4 :
     2 # vim: set tw=75 :
     3 
     4 # MetaMod toplevel makefile
     5 # Copyright (c) 2001-2003 Will Day <[email protected]>
     6 #
     7 # some sections as demonstated in GNU's make.info documentation
     8 
     9 include Config.mak
    10 
    11 ifeq "$(USER)" "willday"
    12 include priv/top.mak
    13 endif
    14 
    15 .DEFAULT:
    16 	for i in $(SUBDIRS); do \
    17 		$(MAKE) -C $$i $@ || exit; \
    18 	done
    19 
    20 .PHONY:	subdirs dlls $(SUBDIRS)
    21 
    22 subdirs: $(SUBDIRS)
    23 
    24 $(SUBDIRS):
    25 	$(MAKE) -C $@
    26 
    27 clean cleanall:
    28 	for i in $(SUBDIRS); do \
    29 		$(MAKE) -C $$i cleanall || exit; \
    30 	done
    31 	-rm dlls/* dlls/debug/*