From 0377be5650a15877e15557ec4d92860328b2f04c Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Thu, 23 Jul 2020 15:53:59 +0100 Subject: [PATCH] MNT: clean up makefile --- Makefile | 19 ++++++------------- branchname.log | 1 - 2 files changed, 6 insertions(+), 14 deletions(-) delete mode 100644 branchname.log diff --git a/Makefile b/Makefile index acfa770..04934c6 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,11 @@ include $(FSLCONFDIR)/default.mk PROJNAME = slicetimer +XFILES = slicetimer +LIBS = -lfsl-newimage -lfsl-miscmaths -lfsl-NewNifti \ + -lfsl-znz -lfsl-cprob -lfsl-utils -USRINCFLAGS = -I${INC_NEWMAT} -I${INC_PROB} -I${INC_ZLIB} -USRLDFLAGS = -L${LIB_NEWMAT} -L${LIB_PROB} -L${LIB_ZLIB} - -OBJS = slicetimer.o - -LIBS = -lnewimage -lmiscmaths -lNewNifti -lznz -lnewmat -lprob -lm -lutils -lz - -XFILES = slicetimer - -all: ${XFILES} - -slicetimer:${OBJS} - ${CXX} ${CXXFLAGS} ${LDFLAGS} -o $@ ${OBJS} ${LIBS} +all: ${XFILES} +slicetimer: slicetimer.o + ${CXX} ${CXXFLAGS} -o $@ $^ ${LDFLAGS} diff --git a/branchname.log b/branchname.log deleted file mode 100644 index c44a2e2..0000000 --- a/branchname.log +++ /dev/null @@ -1 +0,0 @@ -Initial creation of branchname log file -- GitLab