summaryrefslogtreecommitdiff
path: root/templates/nmake.mpd
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2005-07-18 15:27:11 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2005-07-18 15:27:11 +0000
commit2898604eb14a3d2fc830d21b75d6eaa43d04ebe6 (patch)
treee3cf33addb3548f2f3db295e6911a9a27794d348 /templates/nmake.mpd
parent3e7cb9e3e3688ec1d9093636c9aae4a87bacdbcb (diff)
downloadMPC-2898604eb14a3d2fc830d21b75d6eaa43d04ebe6.tar.gz
ChangeLogTag: Mon Jul 18 10:26:15 2005 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'templates/nmake.mpd')
-rw-r--r--templates/nmake.mpd8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/nmake.mpd b/templates/nmake.mpd
index ea9601d8..f818040d 100644
--- a/templates/nmake.mpd
+++ b/templates/nmake.mpd
@@ -55,13 +55,15 @@ GENERATED_DIRTY =<%foreach(custom_types)%><%foreach(custom_type->input_files)%><
<%if(exename)%>
OUTDIR=<%output_dir(".")%>
INSTALLDIR=<%if(install)%><%install%><%else%><%output_dir%><%endif%>
-<%endif%>
+<%else%>
<%if(type_is_static)%>
-OUTDIR=<%output_dir(".")%>
-<%endif%>
+OUTDIR=<%libout%>
+<%else%>
<%if(type_is_dynamic)%>
OUTDIR=<%if(dllout)%><%dllout%><%else%><%libout%><%endif%>
<%endif%>
+<%endif%>
+<%endif%>
INTDIR=<%intermediate_dir%>\<%project_name%>\<%machine%>
ALL : DEPENDCHECK $(GENERATED_DIRTY)<%if(exename)%><%if(install)%> "$(INSTALLDIR)"<%endif%><%endif%><%if(type_is_dynamic)%><%if(sharedname || staticname)%> "<%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%>"<%endif%><%endif%><%if(staticname && type_is_static)%> "$(OUTDIR)\<%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"<%endif%><%if(exename)%> "$(INSTALLDIR)\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%><%exe_ext%>"<%endif%><%if(postbuild)%> __postbuild__<%endif%>