src/hg/checkHgFindSpec/makefile 1.6
1.6 2010/02/27 00:12:36 angie
Adding dependencies to install targets to avoid race conditions when using make -j (parallel).
Index: src/hg/checkHgFindSpec/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/checkHgFindSpec/makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -B -U 1000000 -r1.5 -r1.6
--- src/hg/checkHgFindSpec/makefile 10 Mar 2009 00:33:46 -0000 1.5
+++ src/hg/checkHgFindSpec/makefile 27 Feb 2010 00:12:36 -0000 1.6
@@ -1,18 +1,18 @@
include ../../inc/common.mk
L += $(MYSQLLIBS) -lm
MYLIBDIR = ../../lib/$(MACHTYPE)
MYLIBS = $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a
A = checkHgFindSpec
O = $A.o
all: compile install
compile: $A
$A: $O $(MYLIBS)
${CC} ${COPT} ${CFLAGS} -o $A $O $(MYLIBS) $L
-install:
+install: compile
mv $A ${BINDIR}/$A