aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-04 13:52:47 +0200
committerMattias Andrée <maandree@kth.se>2021-04-04 13:52:47 +0200
commit08ac19b665fceed3be23739075390a41b5dbfcfb (patch)
tree6776e45948cb8a15b4e89490cdc6a7c42d8cf2b7 /Makefile
parentm + add list-birthdays and set-contact-birthday (diff)
downloadcontacts-08ac19b665fceed3be23739075390a41b5dbfcfb.tar.gz
contacts-08ac19b665fceed3be23739075390a41b5dbfcfb.tar.bz2
contacts-08ac19b665fceed3be23739075390a41b5dbfcfb.tar.xz
m + move common code from get-contact-birthday.c and list-birthdays.c to common-birthday.c
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index e4ef9ab..b2b1f21 100644
--- a/Makefile
+++ b/Makefile
@@ -60,8 +60,8 @@ BIN =\
HDR =\
common.h
-OBJ = $(BIN:=.o)
-BOBJ = $(BIN:=.bo)
+OBJ = $(BIN:=.o) common-birthday.o
+BOBJ = $(OBJ:.o=.bo)
$(OBJ): $(@:.o=.c) $(HDR)
@@ -109,8 +109,8 @@ find-contact-by-photo: find-contact-by-photo.o
find-contact-by-site: find-contact-by-site.o
$(CC) -o $@ $@.o $(LDFLAGS)
-get-contact-birthday: get-contact-birthday.o
- $(CC) -o $@ $@.o $(LDFLAGS)
+get-contact-birthday: get-contact-birthday.o common-birthday.o
+ $(CC) -o $@ $@.o common-birthday.o $(LDFLAGS)
get-contact-chats: get-contact-chats.o
$(CC) -o $@ $@.o $(LDFLAGS)
@@ -151,8 +151,8 @@ get-contact-sites: get-contact-sites.o
is-contact-ice: is-contact-ice.o
$(CC) -o $@ $@.o $(LDFLAGS)
-list-birthdays: list-birthdays.o
- $(CC) -o $@ $@.o $(LDFLAGS)
+list-birthdays: list-birthdays.o common-birthday.o
+ $(CC) -o $@ $@.o common-birthday.o $(LDFLAGS)
list-chat-contacts: list-chat-contacts.o
$(CC) -o $@ $@.o $(LDFLAGS)