summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2004-08-11 10:06:56 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2004-08-11 10:06:56 +0000
commit9cc67214edfb5393c6f1c513120d8305a62178d0 (patch)
tree35661547e1a2f46d3017b271758a7b7388a2847e
parent966684bcf69a0e8ed577241bf137c1d2992f3f18 (diff)
downloadMPC-9cc67214edfb5393c6f1c513120d8305a62178d0.tar.gz
ChangeLogTag: Wed Aug 11 10:06:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--templates/bmake.mpd5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/bmake.mpd b/templates/bmake.mpd
index 519143fd..9bd75c10 100644
--- a/templates/bmake.mpd
+++ b/templates/bmake.mpd
@@ -53,6 +53,7 @@ NAME = <%staticname%>$(LIBMODIFIER)
<%endif%>
<%endif%>
CPPDIR = <%cppdir%>
+RESDIR = <%rcdir%>
UNICODE_CFLAGS = <%unicode_flags%>
<%if(exename || sharedname || staticname)%>
@@ -85,7 +86,7 @@ LIBFILES = \
<%if(resource_files && !type_is_static)%>
RESOURCE = \
<%foreach(resource_files)%>
- $(INTERMEDIATE)\<%noextension(resource_file)%>.res<%fornotlast(" \\")%>
+ $(INTERMEDIATE)\<%basenoextension(resource_file)%>.res<%fornotlast(" \\")%>
<%endfor%>
<%endif%>
@@ -233,7 +234,7 @@ $(OUTPUTDIR)$(NAME)$(LIB_EXT): $(OBJFILES)
<%if(resource_files && !type_is_static)%>
.path.res = $(INTERMEDIATE)
-.path.rc = <%rcdir%>
+.path.rc = $(RESDIR)
.rc.res:
@if not exist "$(INTERMEDIATE)" mkdir "$(INTERMEDIATE)"
$(RC) -fo$@ $<