Index: src/hg/liftUp/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/liftUp/makefile,v
retrieving revision 1.10
retrieving revision 1.11
diff -b -B -U 1000000 -r1.10 -r1.11
--- src/hg/liftUp/makefile	10 Mar 2009 00:34:02 -0000	1.10
+++ src/hg/liftUp/makefile	27 May 2010 18:18:39 -0000	1.11
@@ -1,24 +1,26 @@
 include ../../inc/common.mk
 
 
-L += -lm ${MYSQLLIBS}
+L += ${MYSQLLIBS} -lm 
 MYLIBDIR = ../../lib/${MACHTYPE}
 MYLIBS =  ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
 
+A = liftUp
 O = liftUp.o
 
 all: liftUp
 
 liftUp: $O ${MYLIBS}
-	${CC} ${COPT} ${CFLAGS} -o ${BINDIR}/liftUp $O ${MYLIBS} $L
+	${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/${A}${EXE} $O ${MYLIBS} $L
+	${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
 
 compile: $O ${MYLIBS}
-	${CC} ${COPT} ${CFLAGS} -o liftUp $O ${MYLIBS} $L
+	${CC} ${COPT} ${CFLAGS} -o ${A} $O ${MYLIBS} $L
 
 test: force
 	cd test && ${MAKE}
 
 force: 
 
 clean:
-	rm -f ${O} liftUp
+	rm -f ${O} ${A}

