aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
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)