diff options
author | June McEnroe <june@causal.agency> | 2022-06-18 10:03:57 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-06-18 10:03:57 -0400 |
commit | 511f999dfab4fce8d31af9c388d616ce45a88398 (patch) | |
tree | cb96078d99295f62b1d25af3329b84ac2897df04 /Makefile | |
parent | edit: Validate size is power of two (diff) | |
download | pounce-511f999dfab4fce8d31af9c388d616ce45a88398.tar.gz pounce-511f999dfab4fce8d31af9c388d616ce45a88398.zip |
Flatten extras to top-level directory
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/Makefile b/Makefile index ac9c045..029d184 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,9 @@ MANDIR ?= ${PREFIX}/man CFLAGS += -std=c11 -Wall -Wextra -Wpedantic LDADD.crypt = -lcrypt +LDADD.libcurl = -lcurl LDADD.libtls = -ltls +LDADD.sqlite3 = -lsqlite3 BINS = calico pounce MANS = ${BINS:=.1} @@ -13,6 +15,9 @@ MANS = ${BINS:=.1} LDLIBS.calico = LDLIBS.pounce = ${LDADD.crypt} ${LDADD.libtls} +LDLIBS.pounce-edit = ${LDADD.libtls} +LDLIBS.pounce-notify = ${LDADD.libtls} +LDLIBS.pounce-palaver = ${LDADD.libcurl} ${LDADD.libtls} ${LDADD.sqlite3} OBJS.calico += dispatch.o @@ -25,15 +30,25 @@ OBJS.pounce += server.o OBJS.pounce += state.o OBJS.pounce += xdg.o -OBJS = ${OBJS.calico} ${OBJS.pounce} +OBJS.pounce-edit = edit.o xdg.o +OBJS.pounce-notify = notify.o +OBJS.pounce-palaver = palaver.o + +OBJS += ${OBJS.calico} +OBJS += ${OBJS.pounce} +OBJS += ${OBJS.pounce-edit} +OBJS += ${OBJS.pounce-notify} +OBJS += ${OBJS.pounce-palaver} dev: tags all all: ${BINS} calico: ${OBJS.calico} - pounce: ${OBJS.pounce} +pounce-edit: ${OBJS.pounce-edit} +pounce-notify: ${OBJS.pounce-notify} +pounce-palaver: ${OBJS.pounce-palaver} ${BINS}: ${CC} ${LDFLAGS} ${OBJS.$@} ${LDLIBS.$@} -o $@ |