mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 11:40:27 +03:00
Also use CFLAGS in the linking phase.
This commit is contained in:
parent
4aad0ad417
commit
9de7175503
2
Makefile
2
Makefile
@ -4,7 +4,7 @@ CFLAGS=-g -Wall
|
||||
all: snac
|
||||
|
||||
snac: snac.o main.o data.o http.o httpd.o webfinger.o activitypub.o html.o utils.o format.o
|
||||
$(CC) -L/usr/local/lib *.o -lcurl -lcrypto -pthread -o $@
|
||||
$(CC) $(CFLAGS) -L/usr/local/lib *.o -lcurl -lcrypto -pthread -o $@
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) -I/usr/local/include -c $<
|
||||
|
Loading…
Reference in New Issue
Block a user