Raw File
Make.mm
# -*- Makefile -*-
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
#                               Michael A.G. Aivazis
#                                  Steve Quenette
#                        California Institute of Technology
#                        (C) 1998-2003  All Rights Reserved
#
# <LicenseText>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# version
# $Id: Make.mm,v 1.1.1.1 2003/03/24 01:46:37 tan2 Exp $

include local.def

PROJECT = CitcomS
PACKAGE = lib

BLD_DIRS = \
	Common \
	Full \
	Regional

.PHONY: Common
.PHONY: Full
.PHONY: Regional

all: $(BLD_DIRS)

# This make file has to compile the common directory twice, to create two
# distinct set of binaries... one with customisations for full/spherical
# runs and one for region runs. Hence a few hacks are needed.

Common:

Full:
	(cd Common; TYPE=Full $(MM))
	(cd Full; TYPE=Full $(MM))

Regional:
	(cd Common; TYPE=Regional $(MM))
	(cd Regional; TYPE=Regional $(MM))

clean::
	(cd Common; TYPE=Full $(MM) clean)
	(cd Common; TYPE=Regional $(MM) clean)
	(cd Full; TYPE=Full $(MM) clean)
	(cd Regional; TYPE=Regional $(MM) clean)

distclean::
	(cd Common; TYPE=Full $(MM) distclean)
	(cd Common; TYPE=Regional $(MM) distclean)
	(cd Full; TYPE=Full $(MM) distclean)
	(cd Regional; TYPE=Regional $(MM) distclean)

# version
# $Id: Make.mm,v 1.1.1.1 2003/03/24 01:46:37 tan2 Exp $

#
# End of file
back to top