From 6321be300b804894c8c150fac8749741b13dfb2d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 4 Apr 2021 14:10:26 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b2b1f21..0bbc52e 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.2.3-70-g09d2