diff options
author | June McEnroe <june@causal.agency> | 2019-12-16 21:13:54 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-12-16 21:13:54 -0500 |
commit | be0dd7ef9ded546220c397a64f47ebfd852955b4 (patch) | |
tree | 4e4154331a57fe3d47af8962e6d693ae76aae8dc | |
parent | Move ARRAY_LEN to database.h (diff) | |
download | litterbox-be0dd7ef9ded546220c397a64f47ebfd852955b4.tar.gz litterbox-be0dd7ef9ded546220c397a64f47ebfd852955b4.zip |
Link litterbox with -ltls
Diffstat (limited to '')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile index ea50e6a..73df59d 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ CFLAGS += -std=c11 -Wall -Wextra -Wpedantic CFLAGS += ${LIBS_PREFIX:%=-I%/include} LDFLAGS += ${LIBS_PREFIX:%=-L%/lib} LDLIBS = -lsqlite3 +LDLIBS_litterbox = -ltls BINS = litterbox unscoop @@ -15,6 +16,9 @@ all: ${BINS} ${BINS:=.o}: database.h +.o: + ${CC} ${LDFLAGS} $< ${LDLIBS} ${LDLIBS_$@} -o $@ + tags: *.c *.h ctags -w *.c *.h |