src/hg/checkTableCoords/makefile 1.9
1.9 2010/02/27 00:12:36 angie
Adding dependencies to install targets to avoid race conditions when using make -j (parallel).
Index: src/hg/checkTableCoords/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/checkTableCoords/makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -b -B -U 1000000 -r1.8 -r1.9
--- src/hg/checkTableCoords/makefile 10 Mar 2009 00:33:46 -0000 1.8
+++ src/hg/checkTableCoords/makefile 27 Feb 2010 00:12:36 -0000 1.9
@@ -1,28 +1,28 @@
include ../../inc/common.mk
L += $(MYSQLLIBS) -lm
MYLIBDIR = ../../lib/$(MACHTYPE)
MYLIBS = $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a
A = checkTableCoords
O = $A.o
all: compile install
compile: $A
$A: $O $(MYLIBS)
${CC} ${COPT} ${CFLAGS} -o $A $O $(MYLIBS) $L
-install:
+install: compile
${STRIP} $A${EXE}
mv $A ${BINDIR}/$A
test:
cd tests && ${MAKE}
clean:
-rm -f $A *.o
cd tests && ${MAKE} clean