579fa8e7e96dd799823cd74226418236eda9ac29 hiram Wed Jan 26 10:09:22 2011 -0800 clean up garbage on a successful make diff --git src/hg/hgTracks/makefile src/hg/hgTracks/makefile index e35edaa..76d0494 100644 --- src/hg/hgTracks/makefile +++ src/hg/hgTracks/makefile @@ -28,31 +28,34 @@ bedGraph.o cds.o chainTrack.o mafTrack.o netTrack.o pslTrack.o \ simpleTracks.o wigMafTrack.o wigTrack.o imageV2.o else GBROWSE_D= endif %.o: %.c ${CC} ${COPT} ${CFLAGS} ${GBROWSE_D} ${LOWELAB_DEFS} ${HG_DEFS} ${HG_WARN} ${HG_INC} ${XINC} -o $@ -c $< mgsc: strip mv $A ${CGI_BIN}/$A RENDERO = renderMain.o ${COMMONO} RENDERA = ./hgRenderTracks -compile: compileMain ${RENDERA} +# when it is time to deliver hgRenderTracks, remove the rm and echo below +compile: compileMain + @rm -f ${RENDERA} ${RENDERO} + @echo "run 'make hgRenderTracks' to obtain that binary" compileMain: $O ${CC} -o $A $O ${MYLIBS} ${L} ${RENDERA}: ${RENDERO} ${CC} -o ${RENDERA} ${RENDERO} ${MYLIBS} ${L} # install of RENDERA is not enabled yet. # When it is desired, would need three different targets: # my:: - for personal browser into ${CGI_BIN}-${USER} # alpha:: - for browser into ${CGI_BIN} # beta:: - for browser into ${CGI_BIN}-beta # install:: - into DESTDIR/CGI_BIN wigTrack.o: wigCommon.h