#------------------------------------------------------------------------------
# COLAMD Makefile
#------------------------------------------------------------------------------

SUITESPARSE ?= $(realpath $(CURDIR)/..)
export SUITESPARSE

default: all

include ../SuiteSparse_config/SuiteSparse_config.mk

demos: all

# Compile all C code
all:
	( cd Lib    ; $(MAKE) )


# compile just the C-callable libraries (not Demos)
library:
	( cd Lib    ; $(MAKE) )

# compile the static libraries only
static:
	( cd Lib    ; $(MAKE) static )

# remove object files, but keep the compiled programs and library archives
clean:
	( cd Lib    ; $(MAKE) clean )


# clean, and then remove compiled programs and library archives
purge:
	( cd Lib    ; $(MAKE) purge )


distclean: purge

# get ready for distribution
dist: purge


ccode: library

lib: library

# install COLAMD
install:


# uninstall COLAMD
uninstall:

