From c3ebe7fe98668098f610b2e38461496f8987aca9 Mon Sep 17 00:00:00 2001 From: jvech Date: Tue, 25 Jan 2022 10:42:22 -0500 Subject: LICENSE and README added --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 42c1b78..554d35a 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,13 @@ debug: main.c $(CC) -g main.c -o $(BIN) $(CFLAGS) valgrind --leak-check=full ./$(BIN) foo bar -test: test.c - $(CC) test.c -o test $(CFLAGS) -lcurl - clean: rm main *.o $(BIN) -v + +install: build + cp $(BIN) /usr/bin/ + chmod 755 /usr/bin/$(BIN) + +uninstall: + rm /usr/bin/$(BIN) + -- cgit v1.2.3-70-g09d2