diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -2,7 +2,7 @@ CFLAGS=-g -Wall | |||
| 2 | 2 | ||
| 3 | all: snac | 3 | all: snac |
| 4 | 4 | ||
| 5 | snac: snac.o main.o data.o http.o httpd.o webfinger.o | 5 | snac: snac.o main.o data.o http.o httpd.o webfinger.o activitypub.o |
| 6 | $(CC) -L/usr/local/lib *.o -lcurl -lcrypto -o $@ | 6 | $(CC) -L/usr/local/lib *.o -lcurl -lcrypto -o $@ |
| 7 | 7 | ||
| 8 | .c.o: | 8 | .c.o: |
| @@ -14,6 +14,7 @@ clean: | |||
| 14 | dep: | 14 | dep: |
| 15 | $(CC) -I/usr/local/include -MM *.c > makefile.depend | 15 | $(CC) -I/usr/local/include -MM *.c > makefile.depend |
| 16 | 16 | ||
| 17 | activitypub.o: activitypub.c xs.h xs_encdec.h xs_json.h xs_curl.h snac.h | ||
| 17 | data.o: data.c xs.h xs_io.h xs_json.h xs_openssl.h snac.h | 18 | data.o: data.c xs.h xs_io.h xs_json.h xs_openssl.h snac.h |
| 18 | http.o: http.c xs.h xs_io.h xs_encdec.h xs_openssl.h xs_curl.h snac.h | 19 | http.o: http.c xs.h xs_io.h xs_encdec.h xs_openssl.h xs_curl.h snac.h |
| 19 | httpd.o: httpd.c xs.h xs_io.h xs_encdec.h xs_json.h xs_socket.h \ | 20 | httpd.o: httpd.c xs.h xs_io.h xs_encdec.h xs_json.h xs_socket.h \ |