[Scummvm-cvs-logs] SF.net SVN: scummvm:[53437] scummvm/trunk/engines/sword25/module.mk
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Wed Oct 13 19:05:44 CEST 2010
Revision: 53437
http://scummvm.svn.sourceforge.net/scummvm/?rev=53437&view=rev
Author: thebluegr
Date: 2010-10-13 17:05:44 +0000 (Wed, 13 Oct 2010)
Log Message:
-----------
SWORD25: Partially revert commit #53389 and add the custom rule for C files
again, so that LUA can be compiled. It's a hack but at least it allows
compilation of C files for now
Modified Paths:
--------------
scummvm/trunk/engines/sword25/module.mk
Modified: scummvm/trunk/engines/sword25/module.mk
===================================================================
--- scummvm/trunk/engines/sword25/module.mk 2010-10-13 15:43:08 UTC (rev 53436)
+++ scummvm/trunk/engines/sword25/module.mk 2010-10-13 17:05:44 UTC (rev 53437)
@@ -103,6 +103,11 @@
fmv/yuvtorgba.o
endif
+# HACK. Use proper CC compiler here
+%.o: %.c
+ $(QUIET)$(MKDIR) $(*D)/$(DEPDIR)
+ $(QUIET_CXX)gcc $(CXX_UPDATE_DEP_FLAG) $(CXXFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
+
# This module can be built as a plugin
ifeq ($(ENABLE_SWORD25), DYNAMIC_PLUGIN)
PLUGIN := 1
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list