diff --git a/Makefile b/Makefile
index 2ddf1aeaeb6ccb48a2155eb4a708b1166c467e26..7dee12d3f9f03b7feabd26f3a87eedf33fc1baee 100644
--- a/Makefile
+++ b/Makefile
@@ -4,12 +4,12 @@ include ${FSLCONFDIR}/default.mk
 
 PROJNAME = miscmaths
 
-USRINCFLAGS = -I${INC_NEWMAT} -I${INC_BOOST} -I${INC_PROB} -I${INC_ZLIB}
-USRLDFLAGS = -L${LIB_NEWMAT} -L${LIB_PROB} -L${LIB_ZLIB}
+USRINCFLAGS = -I${INC_NEWMAT} -I${INC_BOOST} -I${INC_PROB}
+USRLDFLAGS = -L${LIB_NEWMAT} -L${LIB_PROB}
 
 OBJS = miscmaths.o optimise.o miscprob.o kernel.o histogram.o base2z.o t2z.o f2z.o minimize.o cspline.o sparse_matrix.o sparsefn.o rungekutta.o nonlin.o bfmatrix.o
 
-LIBS = -lutils -lfslio -lniftiio -lznz -lz -lnewmat -lprob -lm
+LIBS = -lutils -lnewmat -lprob -lm
 
 # The target "all" should ALWAYS be provided
 #   typically it will just be another target name