232074610513870c470c1263d3c46ff9b4ac3450
hiram
  Tue Apr 2 17:22:55 2013 -0700
minimal makefiles now in place for kentUtils build refs #9104
diff --git src/hg/hgsqlSwapTables/makefile src/hg/hgsqlSwapTables/makefile
index 0d26131..991a923 100644
--- src/hg/hgsqlSwapTables/makefile
+++ src/hg/hgsqlSwapTables/makefile
@@ -1,18 +1,3 @@
-include ../../inc/common.mk
-
-L += $(MYSQLLIBS) -lm
-MYLIBDIR = ../../lib/${MACHTYPE}
-MYLIBS =  $(MYLIBDIR)/jkhgap.a ${MYLIBDIR}/jkweb.a
-
+kentSrc = ../..
 A = hgsqlSwapTables
-O = hgsqlSwapTables.o
-
-hgsqlSwapTables: ${O} ${MYLIBS}
-	${CC} ${COPT} -o ${DESTDIR}${BINDIR}/${A}${EXE} $O ${MYLIBS} $L
-	${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
-
-compile:: ${O}
-	${CC} ${COPT} -o ${A}${EXE} ${O} ${MYLIBS} $L
-
-clean::
-	rm -f ${A}${EXE} ${O}
+include $(kentSrc)/inc/userApp.mk