From: Alan Cox Date: Fri, 16 Sep 2016 11:52:25 +0000 (+0100) Subject: Makefile: parallel build fixes take two X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=295e8b50c300d7a428c825ff08e96a34d347c482;p=FUZIX.git Makefile: parallel build fixes take two From: David Flamand Fix the parallel build --- diff --git a/Kernel/Makefile b/Kernel/Makefile index 7bb3b6c7..4172d1fa 100644 --- a/Kernel/Makefile +++ b/Kernel/Makefile @@ -129,12 +129,14 @@ usermem_std-z180.rel: usermem_std-z180.s usermem_std-z80.s lowlevel-z180.rel: lowlevel-z180.s lowlevel-z80.s -target: include/kernel.h +platform: -rm -f platform ln -sf platform-$(TARGET) platform + +target: include/kernel.h | platform +$(MAKE) -C platform-$(TARGET) -#$(OBJS): target +$(OBJS): | platform $(CSRCS): include/kernel.h