src/hg/ratStuff/mafSpeciesSubset/makefile 1.4
1.4 2010/03/29 18:31:52 galt
making makefile ready for HG_APPLIST usage
Index: src/hg/ratStuff/mafSpeciesSubset/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/ratStuff/mafSpeciesSubset/makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 4 -r1.3 -r1.4
--- src/hg/ratStuff/mafSpeciesSubset/makefile 10 Mar 2009 00:34:31 -0000 1.3
+++ src/hg/ratStuff/mafSpeciesSubset/makefile 29 Mar 2010 18:31:52 -0000 1.4
@@ -3,12 +3,15 @@
L += -lm
MYLIBDIR = ../../../lib/${MACHTYPE}
MYLIBS = ${MYLIBDIR}/jkweb.a
-O = mafSpeciesSubset.o
+A = mafSpeciesSubset
+O = ${A}.o
-mafSpeciesSubset: $O ${MYLIBS}
- ${CC} ${COPT} -o ${BINDIR}/mafSpeciesSubset $O ${MYLIBS} $L
- ${STRIP} ${BINDIR}/mafSpeciesSubset${EXE}
+${A}: compile
+ ${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
+
+compile: $O ${MYLIBS}
+ ${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/${A} $O ${MYLIBS} ${L}
clean:
rm -f $O