summaryrefslogtreecommitdiff
path: root/templates/make.mpd
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2006-11-06 15:15:45 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2006-11-06 15:15:45 +0000
commit8d646cbd21edf3ea126f6ba383828a37456813d3 (patch)
treed0d99da26f1a078864ea142f4d310870d34aa79b /templates/make.mpd
parent6393096c05c8b6001f56c10ae74be7484a58e045 (diff)
downloadMPC-8d646cbd21edf3ea126f6ba383828a37456813d3.tar.gz
ChangeLogTag: Mon Nov 6 15:11:47 UTC 2006 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'templates/make.mpd')
-rw-r--r--templates/make.mpd4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/make.mpd b/templates/make.mpd
index a98c32b5..c0838fa2 100644
--- a/templates/make.mpd
+++ b/templates/make.mpd
@@ -40,7 +40,7 @@ ARFLAGS = <%if(extraarflags)%><%extraarflags%> <%endif%><%arflags%>
<%if(tempinc)%>
TEMPINCDIR = <%tempinc%><%if(tempincopt)%><%slash%><%project_name%><%endif%>
<%endif%>
-LDFLAGS =<%if(libpaths)%><%foreach(libpaths)%> <%libpathopt(-L)%>"<%libpath%>"<%endfor%><%endif%><%if(linkflags)%> <%linkflags%><%endif%><%if(build64bit && linkflags64)%> <%linkflags64%><%endif%>
+LDFLAGS =<%if(libpaths)%><%foreach(libpaths)%><%if(targetoutdir)%> <%libpathopt(-L)%>"<%libpath%><%slash%><%targetoutdir%>"<%endif%> <%libpathopt(-L)%>"<%libpath%>"<%endfor%><%endif%><%if(linkflags)%> <%linkflags%><%endif%><%if(build64bit && linkflags64)%> <%linkflags64%><%endif%>
CCC = $(CXX)
MAKEFILE = <%project_file%>
DEPENDENCIES = <%if(supports_include)%>.depend.<%endif%>$(MAKEFILE)
@@ -120,7 +120,7 @@ specialscript:
<%endif%>
<%if(prelinktarget)%>
<%prelinktarget%>: specialscript $(OBJS)
- @specialscript $(NM) "$(OBJS)" "$(LDLIBS)" "<%if(libpaths)%><%libpaths%><%else%>.<%endif%>" <%prelinktarget%>
+ @specialscript $(NM) "$(OBJS)" "$(LDLIBS)" "<%if(libpaths)%><%foreach(libpaths)%><%if(targetoutdir)%><%libpath%><%slash%><%targetoutdir%> <%endif%><%libpath%><%fornotlast(" ")%><%endfor%><%else%>.<%endif%>" <%prelinktarget%>
@$(RM) specialscript
<%targetoutdir%><%obj_dir%><%noextension(prelinktarget)%>$(OBJEXT): <%prelinktarget%>