391f8a18b3796e2b03ed96d20b532ad238bc9dbb
hiram
  Tue Apr 2 13:43:00 2013 -0700
moving to minimal makefiles for kentUtils build refs #9104
diff --git src/utils/rowsToCols/makefile src/utils/rowsToCols/makefile
index 1daeb6e..616ee06 100644
--- src/utils/rowsToCols/makefile
+++ src/utils/rowsToCols/makefile
@@ -1,31 +1,24 @@
-include ../../inc/common.mk
-
+kentSrc = ../..
+A = rowsToCols
+include $(kentSrc)/inc/userApp.mk
 L += -lm
-MYLIBDIR = ../../lib/${MACHTYPE}
-MYLIBS =  ${MYLIBDIR}/jkweb.a
-
-O = rowsToCols.o
-
-rowsToCols: $O ${MYLIBS}
-	${CC} ${COPT} -o ${BINDIR}/rowsToCols $O ${MYLIBS} $L
-	${STRIP} ${BINDIR}/rowsToCols${EXE}
 
-clean:
-	rm -f $O
+clean::
+	rm -fr test/out
 
 tests:
-	mkdir -p test/out
+	${MKDIR} test/out
 	rowsToCols test/in/spaced test/out/spaced
 	diff test/expected/spaced test/out/spaced
 	rowsToCols -varCol test/in/spacedVarious test/out/spacedVarious
 	diff test/expected/spacedVarious test/out/spacedVarious
 	rowsToCols -tab test/in/tab test/out/tab
 	diff test/expected/tab test/out/tab
 	rowsToCols -tab -varCol test/in/tabVarious test/out/tabVarious
 	diff test/expected/tabVarious test/out/tabVarious
 	rowsToCols -fs=, test/in/comma test/out/comma
 	diff test/expected/comma test/out/comma
 	rowsToCols -fs=, -varCol test/in/commaVarious test/out/commaVarious
 	diff test/expected/commaVarious test/out/commaVarious
 	rowsToCols -fixed test/in/fixed test/out/fixed
 	diff test/expected/fixed test/out/fixed