aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMax Horn2008-05-31 19:37:19 +0000
committerMax Horn2008-05-31 19:37:19 +0000
commit93c107f46ae93e603c6f18b0a83c8b821a82976d (patch)
tree53549be5837d2c9865a1b355cfccef5d814f6ec4 /backends
parent63cb8227d30ea6a80084b545ec1662c7d99cd1f3 (diff)
downloadscummvm-rg350-93c107f46ae93e603c6f18b0a83c8b821a82976d.tar.gz
scummvm-rg350-93c107f46ae93e603c6f18b0a83c8b821a82976d.tar.bz2
scummvm-rg350-93c107f46ae93e603c6f18b0a83c8b821a82976d.zip
DS: Fix compilation rule in Makefile to not compile everything twice
svn-id: r32436
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/ds/arm9/makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/platform/ds/arm9/makefile b/backends/platform/ds/arm9/makefile
index 9c9419d8b2..df9a7002b6 100644
--- a/backends/platform/ds/arm9/makefile
+++ b/backends/platform/ds/arm9/makefile
@@ -365,8 +365,7 @@ else
# echo !!!!!!!! $(OPTFLAG)
$(MKDIR) $(*D)/$(DEPDIR)
- $(CXX) -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).d",-MQ,"$@",-MP $(CXXFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
- $(CXX) -MMD -MF "$(*D)/$(DEPDIR)/$(*F).d" $(if $(findstring $(notdir $<), $(OPTLIST)), $(OPT_SPEED), $(OPT_SIZE)) $(CXXFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
+ $(CXX) -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).d",-MQ,"$@",-MP $(if $(findstring $(notdir $<), $(OPTLIST)), $(OPT_SPEED), $(OPT_SIZE)) $(CXXFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
endif