Updated Makefile.

This commit is contained in:
default 2022-10-04 08:53:43 +02:00
parent 4bb40857b2
commit f1a7d9957d

View file

@ -1,3 +1,4 @@
PREFIX=/usr/local
CFLAGS=-g -Wall CFLAGS=-g -Wall
all: snac all: snac
@ -14,6 +15,15 @@ clean:
dep: dep:
$(CC) -I/usr/local/include -MM *.c > makefile.depend $(CC) -I/usr/local/include -MM *.c > makefile.depend
install:
install -m 755 snac $(PREFIX)/bin/snac
mkdir -p -m 755 $(PREFIX)/man/man1
install -m 644 doc/snac.1 $(PREFIX)/man/man1/snac.1
mkdir -p -m 755 $(PREFIX)/man/man5
install -m 644 doc/snac.5 $(PREFIX)/man/man5/snac.5
mkdir -p -m 755 $(PREFIX)/man/man8
install -m 644 doc/snac.8 $(PREFIX)/man/man8/snac.8
activitypub.o: activitypub.c xs.h xs_encdec.h xs_json.h xs_curl.h \ activitypub.o: activitypub.c xs.h xs_encdec.h xs_json.h xs_curl.h \
xs_mime.h xs_openssl.h xs_regex.h xs_time.h snac.h xs_mime.h xs_openssl.h xs_regex.h xs_time.h snac.h
data.o: data.c xs.h xs_io.h xs_json.h xs_openssl.h xs_glob.h snac.h data.o: data.c xs.h xs_io.h xs_json.h xs_openssl.h xs_glob.h snac.h