src/wormAli/makefile 1.10

1.10 2010/02/27 00:12:36 angie
Adding dependencies to install targets to avoid race conditions when using make -j (parallel).
Index: src/wormAli/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/wormAli/makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -b -B -U 1000000 -r1.9 -r1.10
--- src/wormAli/makefile	3 Jul 2005 19:52:12 -0000	1.9
+++ src/wormAli/makefile	27 Feb 2010 00:12:36 -0000	1.10
@@ -1,12 +1,12 @@
 include ../inc/common.mk
 
 O = wormAli.o 
 
 wormAli.exe: $(O)
 	${CC} ${COPT} ${CFLAGS} $O ../lib/$(MACHTYPE)/jkOwnLib.a ../lib/$(MACHTYPE)/jkweb.a -lm
 	mv ${AOUT} wormAli.exe
 
-install:	
+install: wormAli.exe	
 	chmod g-w wormAli.exe
 	chmod a+rx wormAli.exe
-	mv wormAli.exe $(HOME)/.html/cgi-bin
+	mv wormAli.exe ${CGI_BIN}/