391f8a18b3796e2b03ed96d20b532ad238bc9dbb
hiram
  Tue Apr 2 13:43:00 2013 -0700
moving to minimal makefiles for kentUtils build refs #9104
diff --git src/utils/weedLines/makefile src/utils/weedLines/makefile
index 29e77c4..540af47 100644
--- src/utils/weedLines/makefile
+++ src/utils/weedLines/makefile
@@ -1,19 +1,12 @@
-include ../../inc/common.mk
-
+kentSrc = ../..
+A = weedLines
+include $(kentSrc)/inc/userApp.mk
 L += -lm
-MYLIBDIR = ../../lib/${MACHTYPE}
-MYLIBS =  ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
-
-O = weedLines.o
-
-weedLines: $O ${MYLIBS}
-	${CC} ${COPT} -o ${BINDIR}/weedLines $O ${MYLIBS} $L
-	${STRIP} ${BINDIR}/weedLines${EXE}
 
 test:
 	weedLines input.weed input.txt out.good -weeded=out.bad
 	diff expected.good out.good
 	diff expected.bad out.bad
 	
-clean:
-	rm -f $O
+clean::
+	rm -f out.good out.bad