make system divided into *.mk files
[libbear.git] / Makefile
CommitLineData
6da586f4 1
11c73ff2
PG
2# set this on the command line to get a WIN32 or a FINAL build
3BUILD := DEBUG
2e58db1a 4
630fa680
PG
5# cause the fancy $${@D} directory rules to work out
6.SECONDEXPANSION:
7
72482893 8# The first and therefor default rule
3fc83b9f 9# targets append themselves to this to be built by all
630fa680 10.PHONY: all
3fc83b9f
PG
11all:
12#all: ${TARGET}
13
14DIRMK := dir.mk
15VARSMK := vars.mk
16FILESMK := files.mk
17RULESMK := rules.mk
630fa680 18
3fc83b9f 19include ${VARSMK}
630fa680
PG
20
21# lists populated by dir.mk files in subdirectories
edcf57eb 22SRCS := # := start
630fa680 23DIRS := # := start
edcf57eb
PG
24OBJS := # := start
25DEPS := # := start
630fa680 26
3fc83b9f 27BLDDIRS := # := start
630fa680
PG
28
29# include all of the dir.mk files in src
3fc83b9f 30include src/${DIRMK}
6da586f4 31