From e95b3dc801c4e50bf41e8e0e7c8f13dcd2c27282 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Tue, 13 Oct 2015 13:31:03 -0700 Subject: [PATCH] Fix mkdir --- scripts/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/Makefile b/scripts/Makefile index dd02ee83a..6870e746f 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -130,10 +130,10 @@ dotnetlibs/api-ms-win-core-registry-l1-1-0.dll: ../src/win-dll/lib-api-ms-win-co nuget.exe: wget 'https://dist.nuget.org/win-x86-commandline/latest/nuget.exe' -buildtemp: - mkdir -p buildtemp +buildtemp dotnetlibs: + mkdir -p $@ -prepare: nuget.exe buildtemp +prepare: nuget.exe buildtemp dotnetlibs mono nuget.exe restore -PackagesDirectory buildtemp # this is the execution environment from which all managed code is run @@ -152,7 +152,6 @@ APP_BASE=exec_env/app_base internal-prepare-exec_env: runps.sh $(POWERSHELL_RUN_TARGETS) rm -rf exec_env mkdir -p $(APP_BASE)/Modules - mkdir -p exec_env/coreclr cp ../src/monad/monad/miscfiles/display/*.ps1xml $(APP_BASE) cp ../src/monad/monad/miscfiles/types/CoreClr/*.ps1xml $(APP_BASE) cp -r ../src/monad/monad/miscfiles/modules/* $(APP_BASE)/Modules @@ -164,6 +163,7 @@ internal-prepare-exec_env: runps.sh $(POWERSHELL_RUN_TARGETS) cp runps*.sh $(APP_BASE) internal-prepare-clr: + mkdir -p exec_env/coreclr cp -r $(CORECLR_ASSEMBLY_BASE)/* exec_env/coreclr/ run: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-clr @@ -183,7 +183,7 @@ run-file: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-clr TEMP=/tmp $(APP_BASE)/runps.sh --file ../../$@ # compiles "Hello World" like executables using .NET Core -%.exe: %.cs +%.exe: %.cs internal-prepare-clr $(CSC) -out:$@ $(CSCOPTS_BASE) -target:exe $(COREREF) $^ @echo run with monad-tty ./scripts/exec_env/coreclr/corerun ./scripts/$@