diff options
author | Mattias Andrée <maandree@kth.se> | 2021-04-04 14:10:26 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-04-04 14:10:26 +0200 |
commit | 6321be300b804894c8c150fac8749741b13dfb2d (patch) | |
tree | defa3c9145ecdf6e3f74c4fcf09b20a50a81983f /Makefile | |
parent | m + move common code from get-contact-birthday.c and list-birthdays.c to common-birthday.c (diff) | |
download | contacts-6321be300b804894c8c150fac8749741b13dfb2d.tar.gz contacts-6321be300b804894c8c150fac8749741b13dfb2d.tar.bz2 contacts-6321be300b804894c8c150fac8749741b13dfb2d.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,13 +1,11 @@ .POSIX: CONFIGFILE = config.mk -include $(CONFIGFILE) CALLTYPE = multicall-hardlinks # multicall-hardlinks = multiple hardlinks of the same multicall binary is installed # multicall-symlinks = multiple links to a multicall binary named $(PREFIX)/bin/contacts are installed # singlecall = separate binaries are install for each command (greatly wastes space when statically linked) -include $(CALLTYPE).mk BIN =\ @@ -64,6 +62,10 @@ OBJ = $(BIN:=.o) common-birthday.o BOBJ = $(OBJ:.o=.bo) +include $(CONFIGFILE) +include $(CALLTYPE).mk + + $(OBJ): $(@:.o=.c) $(HDR) $(BOBJ): $(@:.bo=.c) $(HDR) |