From 193598d14c2d9ab39e8c35d04cc799fdc73596fb Mon Sep 17 00:00:00 2001 From: Thomas Lindner Date: Mon, 13 Feb 2023 00:26:49 +0100 Subject: [PATCH] add install and clean targets --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 83d6af2..2347abe 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,11 @@ +PREFIX := /usr/local LDLIBS := -lutil dump_inode: + +.PHONY: clean install +clean: + rm -f dump_inode + +install: + install -Ds dump_inode $(DESTDIR)$(PREFIX)/sbin/dump_inode