diff options
author | Mattias Andrée <maandree@kth.se> | 2021-04-04 13:52:47 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-04-04 13:52:47 +0200 |
commit | 08ac19b665fceed3be23739075390a41b5dbfcfb (patch) | |
tree | 6776e45948cb8a15b4e89490cdc6a7c42d8cf2b7 /Makefile | |
parent | m + add list-birthdays and set-contact-birthday (diff) | |
download | contacts-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-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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) |