[Scummvm-cvs-logs] CVS: residual Makefile.common,1.16,1.17

Max Horn fingolfin at users.sourceforge.net
Sat Jan 15 09:06:12 CET 2005


Update of /cvsroot/scummvm/residual
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27253

Modified Files:
	Makefile.common 
Log Message:
Put *.d files into the correct location; this fixes dependency checking

Index: Makefile.common
===================================================================
RCS file: /cvsroot/scummvm/residual/Makefile.common,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- Makefile.common	12 Jan 2005 22:49:26 -0000	1.16
+++ Makefile.common	15 Jan 2005 17:05:14 -0000	1.17
@@ -91,7 +91,7 @@
 	$(CXX) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
 
 .cpp.o:
-	$(CXX) $(CXXFLAGS) -MMD -c $(<) -o $*.o
+	$(CXX) $(CXXFLAGS) -Wp,-MMD,"$*.d",-MQ,"$*.o",-MP -c $(<) -o $*.o
 
 clean: 
 	-rm -f residual$(EXEEXT) *.o *.d mixer/*.o mixer/*.d imuse/*.o imuse/*.d lua/*.o *.d lua/*.d tinygl/*.o *.d tinygl/*.d





More information about the Scummvm-git-logs mailing list