From d5d1e8666f8dbc3f427b10c0c7da2fb30322d803 Mon Sep 17 00:00:00 2001 From: condret Date: Wed, 7 Jun 2023 02:36:25 +0200 Subject: [PATCH] Add Makefile --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d731d5d --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +all: + gcc -o fedi_post fedi_post.c $(shell pkg-config --cflags --libs r_util r_io libcurl) + +clean: + rm fedi_post + +install: + cp fedi_post /usr/bin + chmod 755 /usr/bin/fedi_post + +uninstall: + rm /usr/bin/fedi_post