Makefile
author darope
Sat Apr 08 22:19:17 2006 +0000 (2006-04-08)
branchB-work
changeset 220 d60591bd358d
parent 0 d15304fcb7a7
child 284 ca90ccdb8d49
permissions -rw-r--r--
Tried to access a private member from within a derived class.
Why did gcc not complain?!
darope@0
     1
# vi: set ts=4 sw=4 :
darope@0
     2
# vim: set tw=75 :
darope@0
     3
darope@0
     4
# MetaMod toplevel makefile
darope@0
     5
# Copyright (c) 2001-2003 Will Day <[email protected]>
darope@0
     6
#
darope@0
     7
# some sections as demonstated in GNU's make.info documentation
darope@0
     8
darope@0
     9
include Config.mak
darope@0
    10
darope@0
    11
ifeq "$(USER)" "willday"
darope@0
    12
include priv/top.mak
darope@0
    13
endif
darope@0
    14
darope@0
    15
.DEFAULT:
darope@0
    16
	for i in $(SUBDIRS); do \
darope@0
    17
		$(MAKE) -C $$i $@ || exit; \
darope@0
    18
	done
darope@0
    19
darope@0
    20
.PHONY:	subdirs dlls $(SUBDIRS)
darope@0
    21
darope@0
    22
subdirs: $(SUBDIRS)
darope@0
    23
darope@0
    24
$(SUBDIRS):
darope@0
    25
	$(MAKE) -C $@
darope@0
    26
darope@0
    27
clean cleanall:
darope@0
    28
	for i in $(SUBDIRS); do \
darope@0
    29
		$(MAKE) -C $$i cleanall || exit; \
darope@0
    30
	done
darope@0
    31
	-rm dlls/* dlls/debug/*