summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-03-20 17:25:23 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-03-20 17:25:23 -0700
commitef20bfbd5b46a138c1fded6a89b9133bb84623c2 (patch)
tree3d8a730fc4f0cac34f678c4fc264f1d8fc5242e2 /Makefile
parent855361ca1c780827310f3bf1ba742232cb612da3 (diff)
Add uninstall target to Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 84c2e2f..4ccbd96 100644
--- a/Makefile
+++ b/Makefile
@@ -46,6 +46,9 @@ $(BUILDDIR):
install: $(BUILDDIR)
$(MAKE) -C $(BUILDDIR) install
+uninstall: $(BUILDDIR)/install_manifest.txt
+ xargs rm < $<
+
debug:
mkdir -p $(BUILDDIR); \
cd $(BUILDDIR); \