232074610513870c470c1263d3c46ff9b4ac3450
hiram
  Tue Apr 2 17:22:55 2013 -0700
minimal makefiles now in place for kentUtils build refs #9104
diff --git src/hg/pslPretty/makefile src/hg/pslPretty/makefile
index 5fd0dcd..04916d7 100644
--- src/hg/pslPretty/makefile
+++ src/hg/pslPretty/makefile
@@ -1,28 +1,22 @@
-include ../../inc/common.mk
+kentSrc = ../..
+A = pslPretty
+include $(kentSrc)/inc/userApp.mk
 
+test:: testDnax
 
-L += -lm
-MYLIBDIR = ../../lib/$(MACHTYPE)
-MYLIBS =  $(MYLIBDIR)/jkweb.a
-
-O = pslPretty.o
-
-pslPretty: $O $(MYLIBS)
-	${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/pslPretty $O $(MYLIBS) $L
-
-test:: testRna testDnax
+# testRna is missing its test input file rna.psl
 
 testRna::
 	${MKDIR} test/output
 	pslPretty -long -axt test/input/rna.psl test/input/hCrea.geno test/input/hCrea.mrna test/output/rna.axt
 
 testDnax::
 	${MKDIR} test/output
 	pslPretty -long -axt test/input/dnax.psl test/input/mCrea.geno test/input/hCrea.geno test/output/dnax.axt
 
 testOld:: 
 	${MKDIR} output
 	pslPretty -long -axt input/test1.psl input/S1.lst input/S2.lst output/test1.axt
 
 clean::
-	rm -f ${O}
+	rm -fr test/output