From 88bc15c12a00d7d9ac22c4dfafddee84fb92bc04 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Mon, 12 Feb 2018 13:36:13 -0700 Subject: [PATCH] Add install target to copy lib/*.so /usr/local/lib/. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.34.1