Skip to content
Snippets Groups Projects
Makefile 549 B
Newer Older
Mark Woolrich's avatar
Mark Woolrich committed
# A Makefile for the miscmaths class

David Flitney's avatar
David Flitney committed
include ${FSLCONFDIR}/default.mk
Mark Woolrich's avatar
Mark Woolrich committed

PROJNAME = miscmaths

David Flitney's avatar
David Flitney committed
#USRINCFLAGS = -I${INCDIR}/utils -I${INCDIR}/newmat -I${INCDIR}/libprob
Mark Woolrich's avatar
Mark Woolrich committed

OBJS = miscmaths.o optimise.o miscprob.o kernel.o histogram.o base2z.o t2z.o f2z.o

LIBS = -lutils -lnewmat -lprob -lm

# The target "all" should ALWAYS be provided
#   typically it will just be another target name

all: libmiscmaths.a

quick:${OBJS} quick.o
	${CXX}  ${CXXFLAGS} ${LDFLAGS} -o $@ ${OBJS} quick.o ${LIBS}

Mark Woolrich's avatar
Mark Woolrich committed
libmiscmaths.a: ${OBJS}
	${AR} -r libmiscmaths.a ${OBJS}