d8352b0a8c16641c5af4f33112b4f241af931771 braney Wed Jul 25 16:00:15 2012 -0700 add some tests, make the code easier to understand, and fix a problem with no CDS being indicated by thickStart == chromStart && thickEnd == chromEnd, instead of thickStart==thickEnd==0 as should have been the case. Thanks Tim for the code review!!! diff --git src/hg/pslToBed/makefile src/hg/pslToBed/makefile index 55b19a0..71da1a0 100644 --- src/hg/pslToBed/makefile +++ src/hg/pslToBed/makefile @@ -1,20 +1,24 @@ include ../../inc/common.mk L += $(MYSQLLIBS) -lm MYLIBDIR = ../../lib/$(MACHTYPE) MYLIBS = $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a O = pslToBed.o myown:pslToBed mv pslToBed ${BINDIR}/ -pslToBed: +pslToBed: $O ${CC} ${COPT} ${CFLAGS} -Wimplicit -I../inc -I../../inc -o $@ $(addsuffix .c,$@) $(MYLIBS) $(L) + +test: pslToBed + cd tests && ${MAKE} test + lib: cd ../../lib && ${MAKE} clean:: rm -f ${O}