From 737c2dd0ba9c5fb609b443da5ec25d520e710129 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 13 Oct 2010 17:05:44 +0000 Subject: 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 svn-id: r53437 --- engines/sword25/module.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines') diff --git a/engines/sword25/module.mk b/engines/sword25/module.mk index 1f5374e353..6efc378c0f 100644 --- a/engines/sword25/module.mk +++ b/engines/sword25/module.mk @@ -103,6 +103,11 @@ MODULE_OBJS += \ 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 -- cgit v1.2.3