From 471ac4d960271e45b651a501079de431c9d53d20 Mon Sep 17 00:00:00 2001 From: Frank Jacobs Date: Sat, 11 Oct 2008 10:10:11 -0600 Subject: [PATCH] support building from a directory with spaces in its name --- makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/makefile b/makefile index 61b9089d97..0393f5f2a5 100644 --- a/makefile +++ b/makefile @@ -93,8 +93,8 @@ ifeq ($(platform),darwin) endif ifeq ($(platform),windows) - inc = $(root)/win32/include - lib = $(root)/win32/lib + inc = "$(root)/win32/include" + lib = "$(root)/win32/lib" system = windows object-format = pe-i386 @@ -333,7 +333,7 @@ $(boot-object): $(boot-source) $(build)/classpath.jar: $(classpath-dep) (wd=$$(pwd); \ cd $(classpath-build); \ - $(jar) c0f $${wd}/$(@) $$(find . -name '*.class')) + $(jar) c0f "$${wd}/$(@)" $$(find . -name '*.class')) $(binaryToMacho): $(src)/binaryToMacho.cpp $(cxx) $(^) -o $(@) @@ -347,7 +347,7 @@ else (wd=$$(pwd); \ cd $(build); \ $(objcopy) -I binary classpath.jar \ - -O $(object-format) -B $(object-arch) $${wd}/$(@)) + -O $(object-format) -B $(object-arch) "$${wd}/$(@)") endif $(generator-objects): $(native-build)/%.o: $(src)/%.cpp