From 253628b61ee2f7a0247e4f1147b96afa70384e10 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Fri, 8 Apr 2022 11:54:08 +0200 Subject: [PATCH] Add `install:` --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index aa1905b..094f4b1 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,9 @@ OBJS = $(subst .c,.o,$(SRC) $(HTML_SRC)) $(TARGET): $(OBJS) gcc $(CFLAGS) -o $@ $^ $(LDLIBS) +install: $(TARGET) + install $(TARGET) /usr/local/bin/ + clean: rm -f .depend $(OBJS) $(HTML_SRC) $(TARGET)