GNUmakefile.zi 565 Bytes
all: go

include UFconfig/UFconfig.mk

go: run
	- ( cd UMFPACK/Source ; ./ucov.zi )
	- ( cd AMD/Source     ; ./acov.zi )

run: prog
	- ./ut > ut.out
	- tail ut.out
	#- $(RM) ut.out

prog:
	( cd UMFPACK ; make library )
	( cd AMD ; make library )
	$(CC) -DZINT $(CFLAGS) $(UMFPACK_CONFIG) -IUMFPACK/Source -IUMFPACK/Include -IAMD/Source -IAMD/Include -IUFconfig -o ut ut.c UMFPACK/Lib/libumfpack.a AMD/Lib/libamd.a $(LIB)

utcov:
	- ( cd UMFPACK/Source ; ./ucov.zi )
	- ( cd AMD/Source     ; ./acov.zi )

purge:
	( cd UMFPACK ; make purge )
	( cd AMD ; make purge )