aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-04 23:48:03 +0200
committerMattias Andrée <maandree@kth.se>2021-04-04 23:48:03 +0200
commit4e07377ba62a1877a150faf196c8a9d3ac3fdcd7 (patch)
tree2e7434adcc7bf4d2f05ea0551ecda414a18e8ce4 /Makefile
parentm (diff)
downloadcontacts-4e07377ba62a1877a150faf196c8a9d3ac3fdcd7.tar.gz
contacts-4e07377ba62a1877a150faf196c8a9d3ac3fdcd7.tar.bz2
contacts-4e07377ba62a1877a150faf196c8a9d3ac3fdcd7.tar.xz
Add find-contact-by-address and get-contact-addresses
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0bbc52e..3daf44f 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ CALLTYPE = multicall-hardlinks
BIN =\
add-contact\
+ find-contact-by-address\
find-contact-by-chat\
find-contact-by-email\
find-contact-by-name\
@@ -18,6 +19,7 @@ BIN =\
find-contact-by-pgpkey\
find-contact-by-photo\
find-contact-by-site\
+ get-contact-addresses\
get-contact-birthday\
get-contact-chats\
get-contact-emails\
@@ -58,7 +60,7 @@ BIN =\
HDR =\
common.h
-OBJ = $(BIN:=.o) common-birthday.o
+OBJ = $(BIN:=.o) common-birthday.o common-address.o
BOBJ = $(OBJ:.o=.bo)
@@ -87,6 +89,9 @@ contacts.c: contacts.c.in Makefile
add-contact: add-contact.o
$(CC) -o $@ $@.o $(LDFLAGS)
+find-contact-by-address: find-contact-by-address.o common-address.o
+ $(CC) -o $@ $@.o common-address.o $(LDFLAGS)
+
find-contact-by-chat: find-contact-by-chat.o
$(CC) -o $@ $@.o $(LDFLAGS)
@@ -111,6 +116,9 @@ find-contact-by-photo: find-contact-by-photo.o
find-contact-by-site: find-contact-by-site.o
$(CC) -o $@ $@.o $(LDFLAGS)
+get-contact-addresses: get-contact-addresses.o common-address.o
+ $(CC) -o $@ $@.o common-address.o $(LDFLAGS)
+
get-contact-birthday: get-contact-birthday.o common-birthday.o
$(CC) -o $@ $@.o common-birthday.o $(LDFLAGS)
@@ -180,6 +188,9 @@ print-contact: print-contact.o
remove-contact: remove-contact.o
$(CC) -o $@ $@.o $(LDFLAGS)
+set-contact-addresses: set-contact-addresses.o
+ $(CC) -o $@ $@.o $(LDFLAGS)
+
set-contact-birthday: set-contact-birthday.o
$(CC) -o $@ $@.o $(LDFLAGS)