aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-06 01:42:13 +0200
committerMattias Andrée <maandree@kth.se>2021-04-06 01:42:13 +0200
commitf2ee15e4ec3a02e4be6a522bb7b276bdf5703301 (patch)
treebfc43bf5dc1b2d8fec9a1c68c8c8e140f696f09f /Makefile
parentm (diff)
downloadcontacts-f2ee15e4ec3a02e4be6a522bb7b276bdf5703301.tar.gz
contacts-f2ee15e4ec3a02e4be6a522bb7b276bdf5703301.tar.bz2
contacts-f2ee15e4ec3a02e4be6a522bb7b276bdf5703301.tar.xz
m + add block utils
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2e3cb7f..f71def1 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,7 @@ BIN =\
find-contact-by-site\
get-contact-addresses\
get-contact-birthday\
+ get-contact-blocks\
get-contact-chats\
get-contact-emails\
get-contact-file\
@@ -45,6 +46,7 @@ BIN =\
remove-contact\
set-contact-addresses\
set-contact-birthday\
+ set-contact-blocks\
set-contact-chats\
set-contact-emails\
set-contact-gender\
@@ -56,7 +58,8 @@ BIN =\
set-contact-organisations\
set-contact-pgpkeys\
set-contact-photos\
- set-contact-sites
+ set-contact-sites\
+ unblock-contact
HDR =\
common.h
@@ -123,6 +126,9 @@ get-contact-addresses: get-contact-addresses.o common-address.o
get-contact-birthday: get-contact-birthday.o common-birthday.o
$(CC) -o $@ $@.o common-birthday.o $(LDFLAGS)
+get-contact-blocks: get-contact-blocks.o
+ $(CC) -o $@ $@.o $(LDFLAGS)
+
get-contact-chats: get-contact-chats.o
$(CC) -o $@ $@.o $(LDFLAGS)
@@ -195,6 +201,9 @@ set-contact-addresses: set-contact-addresses.o common-address.o
set-contact-birthday: set-contact-birthday.o
$(CC) -o $@ $@.o $(LDFLAGS)
+set-contact-blocks: set-contact-blocks.o
+ $(CC) -o $@ $@.o $(LDFLAGS)
+
set-contact-chats: set-contact-chats.o
$(CC) -o $@ $@.o $(LDFLAGS)
@@ -231,6 +240,9 @@ set-contact-photos: set-contact-photos.o
set-contact-sites: set-contact-sites.o
$(CC) -o $@ $@.o $(LDFLAGS)
+unblock-contact: unblock-contact.o
+ $(CC) -o $@ $@.o $(LDFLAGS)
+
uninstall:
-cd -- "$(DESTDIR)$(PREFIX)/bin" && rm -f -- $(BIN)
-rm -f -- "$(DESTDIR)$(PREFIX)/lib/contacts"