From: Kevin M. Rosenberg Date: Mon, 12 Feb 2018 20:36:13 +0000 (-0700) Subject: Add install target to copy lib/*.so /usr/local/lib/. X-Git-Url: http://git.kpe.io/?p=snark14.git;a=commitdiff_plain;h=88bc15c12a00d7d9ac22c4dfafddee84fb92bc04 Add install target to copy lib/*.so /usr/local/lib/. --- diff --git a/Makefile b/Makefile index 2270049..874f5fc 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ # Makefile to build an instance of snark14 +.PHONY: all install clean PREFIX = . XERCES = . @@ -86,6 +87,10 @@ $(LIBSDIR): $(BINDIR): @mkdir -p $@ +install: + @cp lib/* /usr/local/lib/. + @ldconfig + clean: @rm -rf $(BINDIR) $(OBJDIR) $(LIBSDIR) $(LDIGFILED) $(LDIGFILESD) $(LDIGFILERD) @rm -rf $(DIGFILED)/*.o $(DIGFILESD)/*.o $(DIGFILERD)/*.o src/snark/*.o