3 # This is the build directory make file, it sets the build directory
4 # and runs the src makefile.
7 SUBDIRS:=./doc ./bin ./obj ./include/apt-pkg ./include/deity
11 # Chain to the parent make to do the actual building
12 .PHONY: headers library clean veryclean all binary program doc
13 headers library clean veryclean all binary program doc:
14 $(MAKE) -C $(SRCDIR) $@
16 # This makes any missing directories
18 MISSING_DIRS:= $(filter-out $(wildcard $(SUBDIRS)),$(SUBDIRS))
20 ifneq ($(words $(MISSING_DIRS)),0)
21 @mkdir $(MISSING_DIRS)