mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-14 17:45:04 +00:00
Also use CFLAGS in the linking phase.
This commit is contained in:
parent
4aad0ad417
commit
9de7175503
1 changed files with 1 additions and 1 deletions
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 a new issue