diff options
Diffstat (limited to 'src/actions/make/make_cpp.tmpl')
-rw-r--r-- | src/actions/make/make_cpp.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions/make/make_cpp.tmpl b/src/actions/make/make_cpp.tmpl index afcad44..6e71174 100644 --- a/src/actions/make/make_cpp.tmpl +++ b/src/actions/make/make_cpp.tmpl @@ -2,7 +2,7 @@ # <%= premake.actions[_ACTION].shortname %> project makefile autogenerated by Premake
ifndef config
- config=<%= _MAKE.esc(this.configurations[1]) %>
+ config=<%= _MAKE.esc(this.configurations[1]:lower()) %>
endif
ifndef verbose
@@ -11,7 +11,7 @@ endif <% for cfg in premake.eachconfig(this) do %>
-ifeq ($(config),<%= _MAKE.esc(cfg.name)%>)
+ifeq ($(config),<%= _MAKE.esc(cfg.name:lower())%>)
TARGETDIR = <%= _MAKE.esc(cfg.buildtarget.directory) %>
TARGET = $(TARGETDIR)/<%= _MAKE.esc(cfg.buildtarget.name) %>
OBJDIR = <%= _MAKE.esc(cfg.objectsdir) %>
|