#------------------------------------------------------------------------------
# CAMD Makefile (for GNU Make or original make)
#------------------------------------------------------------------------------
default: demo
include ../UFconfig/UFconfig.mk
# Compile all C code, including the C-callable routine and the mexFunctions.
# Do not compile the FORTRAN versions, or MATLAB interface.
demo:
( cd Source ; $(MAKE) )
( cd Demo ; $(MAKE) )
# Compile all C code, including the C-callable routine and the mexFunctions.
# Do not compile the FORTRAN versions.
all:
( cd Source ; $(MAKE) )
( cd Demo ; $(MAKE) )
( cd MATLAB ; $(MAKE) )
# compile just the C-callable libraries (not mexFunctions or Demos)
library:
( cd Source ; $(MAKE) )
# remove object files, but keep the compiled programs and library archives
clean:
( cd Source ; $(MAKE) clean )
( cd Demo ; $(MAKE) clean )
( cd MATLAB ; $(MAKE) clean )
( cd Doc ; $(MAKE) clean )
# clean, and then remove compiled programs and library archives
purge:
( cd Source ; $(MAKE) purge )
( cd Demo ; $(MAKE) purge )
( cd MATLAB ; $(MAKE) purge )
( cd Doc ; $(MAKE) purge )
distclean: purge
# create PDF documents for the original distribution
doc:
( cd Doc ; $(MAKE) )
# get ready for distribution
dist: purge
( cd Demo ; $(MAKE) dist )
( cd Doc ; $(MAKE) )
ccode: library
lib: library
# compile the MATLAB mexFunction
mex:
( cd MATLAB ; $(MAKE) )
syntax highlighted by Code2HTML, v. 0.9.1