src/hg/utils/rgdGeneXref2/makefile 1.1
1.1 2010/02/05 22:32:52 fanhsu
Created makefile.
Index: src/hg/utils/rgdGeneXref2/makefile
===================================================================
RCS file: src/hg/utils/rgdGeneXref2/makefile
diff -N src/hg/utils/rgdGeneXref2/makefile
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ src/hg/utils/rgdGeneXref2/makefile 5 Feb 2010 22:32:52 -0000 1.1
@@ -0,0 +1,36 @@
+
+include ../../../inc/common.mk
+
+L += -lm $(MYSQLLIBS)
+MYLIBDIR = ../../../lib/$(MACHTYPE)
+MYLIBS = $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a
+
+A = rgdGeneXref2
+
+O = $A.o
+
+my: compile
+ mv $A ${BINDIR}/$A
+
+mgsc: compile
+ mv $A /usr/local/apache/cgi-bin-mgsc/$A
+
+alpha: compile
+ mv $A /usr/local/apache/cgi-bin/$A
+
+beta: compile
+ mv $A /usr/local/apache/cgi-bin-beta/$A
+
+
+compile: $O
+ ${CC} ${COPT} ${CFLAGS} $O $(MYLIBS) $(L)
+ mv ${AOUT} $A${EXE}
+# ${STRIP} $A${EXE}
+ chmod a+rx $A
+
+lib:
+ cd ../../lib && ${MAKE}
+
+tags:
+ ctags *.h *.c ../lib/*.c ../inc/*.h ../../lib/*.c ../../inc/*.h
+