https://github.com/geodynamics/citcoms
Revision 05f2a792837d2c5fee345ca1a2f1441c8e7a4663 authored by Eh Tan on 17 May 2005, 07:35:10 UTC, committed by Eh Tan on 17 May 2005, 07:35:10 UTC
1 parent 70c05e2
Tip revision: 05f2a792837d2c5fee345ca1a2f1441c8e7a4663 authored by Eh Tan on 17 May 2005, 07:35:10 UTC
the full path of shared library is given, otherwise g++ can compile but the program couldn't find the shared library at the run time
the full path of shared library is given, otherwise g++ can compile but the program couldn't find the shared library at the run time
Tip revision: 05f2a79
Make.mm
# -*- Makefile -*-
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# <LicenseText>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
include local.def
PROJECT = CitcomS
# directory structure
DIR_LIB = lib
DIR_DRIVERS = drivers
DIR_MODULE = module
DIR_PYRE = pyre
DIR_TESTS = tests
DIR_EXAMPLES = examples
BUILD_DIRS = \
$(DIR_LIB) \
$(DIR_DRIVERS) \
$(DIR_MODULE) \
$(DIR_PYRE) \
OTHER_DIRS = \
$(DIR_TESTS) \
$(DIR_EXAMPLES)
RECURSE_DIRS = $(BUILD_DIRS)
# targets
all: update
update: $(BUILD_DIRS)
release: tidy
cvs release .
test: update
(cd $(DIR_TESTS); $(MM) test)
.PHONY: $(DIR_LIB)
$(DIR_LIB):
(cd $(DIR_LIB); $(MM))
.PHONY: $(DIR_DRIVERS)
$(DIR_DRIVERS):
(cd $(DIR_DRIVERS); $(MM))
.PHONY: $(DIR_MODULE)
$(DIR_MODULE):
(cd $(DIR_MODULE); $(MM))
.PHONY: $(DIR_PYRE)
$(DIR_PYRE):
(cd $(DIR_PYRE); $(MM))
.PHONY: $(DIR_TESTS)
$(DIR_TESTS):
(cd $(DIR_TESTS); $(MM))
.PHONY: $(DIR_EXAMPLES)
$(DIR_EXAMPLES):
(cd $(DIR_EXAMPLES); $(MM))
tidy::
BLD_ACTION="tidy" $(MM) recurse
clean::
BLD_ACTION="clean" $(MM) recurse
$(RM) $(RMFLAGS) $(BLD_TMPDIR)/$(PROJECT) $(BLD_LIBDIR)/$(PROJECT)
distclean::
BLD_ACTION="distclean" $(MM) recurse
# version
# $Id: Make.mm,v 1.3 2004/06/24 19:31:44 tan2 Exp $
#
# End of file
Computing file changes ...