src/hg/instinct/makefile 1.16

1.16 2010/04/12 17:17:51 jsanborn
added raDb functionality
Index: src/hg/instinct/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/makefile,v
retrieving revision 1.15
retrieving revision 1.16
diff -b -B -U 4 -r1.15 -r1.16
--- src/hg/instinct/makefile	19 Nov 2009 19:52:16 -0000	1.15
+++ src/hg/instinct/makefile	12 Apr 2010 17:17:51 -0000	1.16
@@ -2,28 +2,43 @@
 
 include ../../inc/common.mk
 
 # List of directories to build
-USE_DIRS = $(DIRS)
+ALL_DIRS = $(DIRS) $(ALPHA_DIRS)
+CGI_DIRS = \
+	hgHeatmap2 \
+	hgDetails \
+	raToDb
 
 DIRS = \
 	lib \
-	hgHeatmap2 \
 	mapProbesToGenes \
 	genTables \
 	ispySubj \
-	tcgaSubj \
+	tcgaSubj
+
+all::    compile compileCGI
 
-all::    compile
+alpha::  compile compileAlpha	
 
-compile: ${USE_DIRS:%=%.compile}
+compile: ${ALL_DIRS:%=%.compile}
 %.compile:
 	(cd $* && echo $* && $(MAKE) compile)
 
-my: ${USE_DIRS:%=%.my}
+compileCGI: ${CGI_DIRS:%=%.compileCGI}
+	(cd raToDb && raToDb hg18 datasets.ra)
+%.compileCGI:
+	(cd $* && echo $* && $(MAKE))
+
+compileAlpha: ${CGI_DIRS:%=%.compileAlpha}
+	(cd raToDb && raToDb -alpha hg18 datasets.ra)
+%.compileAlpha:
+	(cd $* && echo $* && $(MAKE) alpha)
+
+my: ${ALL_DIRS:%=%.my}
 %.my:
 	(cd $* && echo $* && $(MAKE))
 
-clean:  ${USE_DIRS:%=%.clean}
+clean:  ${ALL_DIRS:%=%.clean}
 %.clean:
 	(cd $* && echo $* && $(MAKE) clean)