From 0dabe20cfa1389023b2cb58c39cfad0dad374724 Mon Sep 17 00:00:00 2001 From: Denis Feklushkin Date: Thu, 19 Mar 2020 18:29:48 +0700 Subject: [PATCH] Windows: header .di file generation duplicated code removed --- mak/WINDOWS | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/mak/WINDOWS b/mak/WINDOWS index 1ab24cc4ed..f305679ef1 100644 --- a/mak/WINDOWS +++ b/mak/WINDOWS @@ -5,26 +5,8 @@ $(mak\IMPORTS) import: $(IMPORTS) -$(IMPDIR)\core\sync\barrier.di : src\core\sync\barrier.d - $(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $** - -$(IMPDIR)\core\sync\condition.di : src\core\sync\condition.d - $(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $** - -$(IMPDIR)\core\sync\config.di : src\core\sync\config.d - $(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $** - -$(IMPDIR)\core\sync\exception.di : src\core\sync\exception.d - $(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $** - -$(IMPDIR)\core\sync\mutex.di : src\core\sync\mutex.d - $(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $** - -$(IMPDIR)\core\sync\rwmutex.di : src\core\sync\rwmutex.d - $(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $** - -$(IMPDIR)\core\sync\semaphore.di : src\core\sync\semaphore.d - $(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $** +$(IMPDIR)/core/sync/%.di : src\core\sync\%.d $(DMD) + $(DMD) -conf= -c -o- -Isrc -Iimport -Hf$@ $< ######################## Header .di file copy ##############################