summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar default2022-10-28 21:55:36 +0200
committerGravatar default2022-10-28 21:55:36 +0200
commit9de71755031fb27c891c2b841224d02572d9449e (patch)
tree642870278bee4dc3188c0d28a86a6091713d4d6b /Makefile
parentUpdated TODO. (diff)
downloadsnac2-9de71755031fb27c891c2b841224d02572d9449e.tar.gz
snac2-9de71755031fb27c891c2b841224d02572d9449e.tar.xz
snac2-9de71755031fb27c891c2b841224d02572d9449e.zip
Also use CFLAGS in the linking phase.
Diffstat (limited to '')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f7e30e5..bd8dcd7 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ CFLAGS=-g -Wall
4all: snac 4all: snac
5 5
6snac: snac.o main.o data.o http.o httpd.o webfinger.o activitypub.o html.o utils.o format.o 6snac: snac.o main.o data.o http.o httpd.o webfinger.o activitypub.o html.o utils.o format.o
7 $(CC) -L/usr/local/lib *.o -lcurl -lcrypto -pthread -o $@ 7 $(CC) $(CFLAGS) -L/usr/local/lib *.o -lcurl -lcrypto -pthread -o $@
8 8
9.c.o: 9.c.o:
10 $(CC) $(CFLAGS) -I/usr/local/include -c $< 10 $(CC) $(CFLAGS) -I/usr/local/include -c $<