diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,6 +1,8 @@ CC = gcc -CFLAGS = -Wall -Wextra -std=c11 -g -fwrapv -D_DEFAULT_SOURCE -LDFLAGS = -lsqlite3 -ldl +CFLAGS = -Wall -Wextra -std=c11 -g -O2 -fwrapv -D_DEFAULT_SOURCE +LDFLAGS = -ldl +CFLAGS += $(shell pkg-config --cflags sqlite3 libsodium) +LDFLAGS += $(shell pkg-config --libs sqlite3 libsodium) TARGETS = tomsg_server |