From 6424b4b39b9aa1402171d3d693c44f61db8e5e66 Mon Sep 17 00:00:00 2001 From: Noah Swerhun Date: Sat, 18 Sep 2021 21:34:54 -0500 Subject: [PATCH] added install option to makefile --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 4df41cb..a2c4745 100644 --- a/Makefile +++ b/Makefile @@ -21,3 +21,9 @@ $(OBJDIR)/%.o: $(SRCDIR)/%.c $(INCDIR)/%.h config.h .PHONY: clean clean: -rm $(OUTFILE) $(OBJ) + +.PHONY: install +install: $(OUTFILE) + cp $(OUTFILE) /usr/local/bin + chown root /usr/local/bin/$(OUTFILE) + chmod 755 /usr/local/bin/$(OUTFILE)