232074610513870c470c1263d3c46ff9b4ac3450
hiram
  Tue Apr 2 17:22:55 2013 -0700
minimal makefiles now in place for kentUtils build refs #9104
diff --git src/hg/pslSwap/makefile src/hg/pslSwap/makefile
index de26e77..cb061c9 100644
--- src/hg/pslSwap/makefile
+++ src/hg/pslSwap/makefile
@@ -1,28 +1,12 @@
-include ../../inc/common.mk
-
-L += -lm
-MYLIBDIR = ../../lib/${MACHTYPE}
-MYLIBS =  ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
-
+kentSrc = ../..
 A = pslSwap
-O = pslSwap.o
-
-all: ${A}
-
-${A}: ${O}
-	${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/${A}${EXE} $O ${MYLIBS} ${L}
-	${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
-
-compile:: ${O}
-	${CC} ${COPT} ${CFLAGS} -o ${A}${EXE} $O ${MYLIBS} ${L}
+include $(kentSrc)/inc/userApp.mk
 
-test: compile
+test:
 	cd tests && ${MAKE} test
-	rm -f ${A}${EXE}
 
-clean:
-	rm -f pslSwap ${OBJS}
+clean::
 	cd tests && ${MAKE} clean
 
 savebak:
 	savebak pslSwap makefile *.c tests/makefile tests/input