2
# This is the master makefile for the database project
4
# For best results, edit the following to taste. They are passed down
5
# to the lower makefiles.
8
ROOTDIR ?= /usr/local/vbdb
9
BINDIR ?= $(ROOTDIR)/bin
10
PRODIR ?= $(ROOTDIR)/pros
11
FFDIR ?= $(ROOTDIR)/etc/fileformats
13
# the c++ compiler of choice
17
# export CC BINDIR ROOTDIR
19
# Here are our targets
21
MAKEDIRS=lib vbwidgets vbview client server brainBrowser db_import db_network db_print util
22
INSTALLDIRS=client server
25
# PHONY declaration makes life easier
26
.PHONY: clean install subdirs $(MAKEDIRS)
35
for dir in $(INSTALLDIRS) ; do make -C $$dir install ; done
38
for dir in $(MAKEDIRS) ; do make -C $$dir clean ; done
39
rm -f core *~ */*~ */core */*.o