From e5008a7520323d8522f2841d71bc7a249f0d95aa Mon Sep 17 00:00:00 2001 From: Davin McCall Date: Tue, 6 Nov 2018 12:36:29 +0000 Subject: [PATCH] Makefile: fix parallel build (issue #9) --- src/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 4f346b2..12cd18a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -17,7 +17,9 @@ includes/mconfig.h: mconfig-gen mconfig-gen: mconfig-gen.cc ../mconfig $(CXX) $(CXXOPTS) -o mconfig-gen mconfig-gen.cc $(LDFLAGS) -dinit: includes/mconfig.h $(dinit_objects) +$(dinit_objects): includes/mconfig.h + +dinit: $(dinit_objects) $(CXX) -o dinit $(dinit_objects) $(LDFLAGS) dinitctl: dinitctl.o -- 2.25.1