From: Fabio Estevam <festevam@xxxxxxx> Add a Makefile to make installation and uninstallation process easier. Signed-off-by: Fabio Estevam <festevam@xxxxxxx> --- Changes since v1: - Simplify the Makefile by taking Peter Kjellerstedt's feedback in the oe-devel list. Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..71a4c9c --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +prefix ?= /usr +bindir ?= $(prefix)/bin + +EXEC = rtc-range rtc rtc-sync + +all: $(EXEC) + +clean: + $(RM) $(EXEC) + +install: + install -d $(DESTDIR)$(bindir) + install $(EXEC) $(DESTDIR)$(bindir) + +uninstall: + $(RM) -r $(addprefix $(DESTDIR)$(bindir)/,$(EXEC)) -- 2.25.1