summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/makefile.dos6
-rw-r--r--crawl-ref/source/makefile.mgw6
2 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/makefile.dos b/crawl-ref/source/makefile.dos
index fb9947e7db..83f2dc6b2c 100644
--- a/crawl-ref/source/makefile.dos
+++ b/crawl-ref/source/makefile.dos
@@ -19,7 +19,7 @@ LEX := flex
YACC := bison -y
ifeq ($(LUASRC),)
-LUASRC := util\lua\src\\
+LUASRC := util\lua\src
endif
LUALIB = lua
@@ -57,7 +57,7 @@ endif
OBJECTS := $(UTIL)levcomp.o $(UTIL)levtab.o $(UTIL)levlex.o $(OBJECTS)
-GAME_DEPENDS := $(LUASRC)$(LUALIBA) $(OBJECTS)
+GAME_DEPENDS := $(LUASRC)\$(LUALIBA) $(OBJECTS)
##########################################################################
@@ -162,7 +162,7 @@ profile: $(GAME_DEPENDS)
#############################################################################
# Build Lua
-$(LUASRC)$(LUALIBA):
+$(LUASRC)\$(LUALIBA):
@echo Building Lua...
@cd $(LUASRC)
@$(MAKE) crawl_dos
diff --git a/crawl-ref/source/makefile.mgw b/crawl-ref/source/makefile.mgw
index 3e590089e8..d4e6e6c829 100644
--- a/crawl-ref/source/makefile.mgw
+++ b/crawl-ref/source/makefile.mgw
@@ -25,7 +25,7 @@ LEX := flex
YACC := bison -y
ifeq ($(LUASRC),)
-LUASRC := util\lua\src\\
+LUASRC := util\lua\src
endif
LUALIB = lua
@@ -74,7 +74,7 @@ OBJECTS := levcomp.tab.o levcomp.lex.o levcomp.o \
OBJECTS := $(foreach file,$(OBJECTS),$(OPATH)/$(file))
-GAME_DEPENDS := prepare $(LUASRC)$(LUALIBA) $(OBJECTS)
+GAME_DEPENDS := prepare $(LUASRC)\$(LUALIBA) $(OBJECTS)
##########################################################################
@@ -175,6 +175,6 @@ $(OPATH)/%.o: $(UTIL)%.cc
#############################################################################
# Build Lua
-$(LUASRC)$(LUALIBA):
+$(LUASRC)\$(LUALIBA):
@echo Building Lua...
@cd $(LUASRC) && $(MAKE) crawl_mingw