summary refs log tree commit diff
path: root/bin/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-09-05 01:49:01 -0400
committerJune McEnroe <june@causal.agency>2019-09-05 01:49:01 -0400
commit615869edabec042fdcd960f17cdc7b6fc39b11a2 (patch)
treecfa4e47363f0cc88b5778d09ae6d7030514e0b5b /bin/Makefile
parentAdd Avorter n'est pas tuer (diff)
downloadsrc-615869edabec042fdcd960f17cdc7b6fc39b11a2.tar.gz
src-615869edabec042fdcd960f17cdc7b6fc39b11a2.zip
Add title
Diffstat (limited to '')
-rw-r--r--bin/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/Makefile b/bin/Makefile
index 3eb71c62..1b038ea6 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -44,9 +44,11 @@ BINS_LINUX += fbatt
 BINS_LINUX += fbclock
 BINS_LINUX += psfed
 
+BINS_CURL += title
+
 BINS_TLS += relay
 
-BINS = ${BINS_ANY} ${BINS_BSD} ${BINS_LINUX} ${BINS_TLS}
+BINS = ${BINS_ANY} ${BINS_BSD} ${BINS_LINUX} ${BINS_CURL} ${BINS_TLS}
 MANS = ${BINS:%=man1/%.1}
 LINKS = ${LINKS_ANY}
 
@@ -58,6 +60,8 @@ bsd: meta ${BINS_BSD}
 
 linux: meta ${BINS_LINUX}
 
+curl: meta ${BINS_CURL}
+
 tls: meta ${BINS_TLS}
 
 meta: tags .gitignore README
@@ -74,6 +78,9 @@ open pbcopy pbpaste: pbd
 relay: relay.c
 	${CC} ${CFLAGS_tls} ${LDFLAGS_tls} $@.c ${LDLIBS_tls} -o $@
 
+title: title.c
+	${CC} ${CFLAGS} ${LDFLAGS} $@.c ${LDLIBS} -lcurl -o $@
+
 # Headers
 
 fbatt.o fbclock.o: scheme.h