From 08ac19b665fceed3be23739075390a41b5dbfcfb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 4 Apr 2021 13:52:47 +0200 Subject: m + move common code from get-contact-birthday.c and list-birthdays.c to common-birthday.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.3-70-g09d2