summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'native_client_sdk/src/tools')
-rw-r--r--native_client_sdk/src/tools/host_gcc.mk2
-rw-r--r--native_client_sdk/src/tools/host_vc.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/native_client_sdk/src/tools/host_gcc.mk b/native_client_sdk/src/tools/host_gcc.mk
index 4f85a0c..ec1d4d6 100644
--- a/native_client_sdk/src/tools/host_gcc.mk
+++ b/native_client_sdk/src/tools/host_gcc.mk
@@ -77,7 +77,7 @@ endef
define LIB_RULE
all:$(NACL_SDK_ROOT)/lib/$(OSNAME)_host/$(CONFIG)/lib$(1).a
$(NACL_SDK_ROOT)/lib/$(OSNAME)_host/$(CONFIG)/lib$(1).a : $(foreach src,$(2),$(OUTDIR)/$(basename $(src)).o)
- $(MKDIR) -p $(dir $$@)
+ $(MKDIR) -p $$(dir $$@)
$(HOST_LIB) $$@ $$^
endef
diff --git a/native_client_sdk/src/tools/host_vc.mk b/native_client_sdk/src/tools/host_vc.mk
index 6413c09..f395356 100644
--- a/native_client_sdk/src/tools/host_vc.mk
+++ b/native_client_sdk/src/tools/host_vc.mk
@@ -70,7 +70,7 @@ endef
define LIB_RULE
all:$(NACL_SDK_ROOT)/lib/$(OSNAME)_host/$(CONFIG)/$(1).lib
$(NACL_SDK_ROOT)/lib/$(OSNAME)_host/$(CONFIG)/$(1).lib : $(foreach src,$(2),$(OUTDIR)/$(basename $(src)).o)
- $(MKDIR) -p $(dir $$@)
+ $(MKDIR) -p $$(dir $$@)
$(HOST_LIB) $$@ $$^ $(WIN_LDFLAGS)
endef