Add Makefile

This commit is contained in:
condret 2023-06-07 02:36:25 +02:00
parent f738e36e1c
commit d5d1e8666f

12
Makefile Normal file
View File

@ -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