165031e4604f8cd4905100753c686a3e66d1ff91 galt Fri Sep 23 11:29:16 2016 -0700 rename phyloGif to phyloPng diff --git src/hg/phyloPng/makefile src/hg/phyloPng/makefile index 229bd30..75cfec8 100644 --- src/hg/phyloPng/makefile +++ src/hg/phyloPng/makefile @@ -1,28 +1,30 @@ kentSrc = ../.. include ../../inc/common.mk L += $(MYSQLLIBS) -lm MYLIBDIR = ../../lib/${MACHTYPE} MYLIBS = $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a A = phyloPng O = ${A}.o include ../../inc/cgi_build_rules.mk +# phyloPng is both a utilitiy that can be run from the commandline, and a CGI. + my:: compile if [ -d "${BINDIR}" ] && [ ! ${CGI_BIN}-${USER}/$A -ef ${DESTDIR}${BINDIR}/$A ] ; then \ cp ${CGI_BIN}-${USER}/$A ${DESTDIR}${BINDIR}/; \ fi compile: $O ${CC} $O ${MYLIBS} ${L} mv ${AOUT} $A${EXE} chmod a+rx $A${EXE} test: compile ${DESTDIR}${BINDIR}/phyloPng -phyloPng_tree=17way.nh > test.png file test.png testWeb: compile