Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 8779a812a8945ab47e9bd202f407752b > files > 1

vdr-plugin-sudoku-0.2.1-2mdv2009.0.src.rpm

Index: sudoku-0.2.1/Makefile
===================================================================
--- sudoku-0.2.1/Makefile
+++ sudoku-0.2.1/Makefile	2008-04-25 01:08:42.000000000 +0300
@@ -1,7 +1,7 @@
 #
 # Sudoku: A plug-in for the Video Disk Recorder
 #
-# Copyright (C) 2005-2007, Thomas Günther <tom@toms-cafe.de>
+# Copyright (C) 2005-2007, Thomas G�nther <tom@toms-cafe.de>
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -61,7 +61,6 @@
 
 INCLUDES += -I$(VDRDIR)/include
 DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
-CXXFLAGS += $(INCLUDES) $(DEFINES)
 
 ### The source and object files
 
@@ -73,6 +72,11 @@
 all: libvdr-$(PLUGIN).so i18n
 	@cd tools && $(MAKE)
 
+### Implicit rules:
+
+%.o: %.cpp
+	$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
+
 ### Dependencies:
 
 DEPFILE = .dependencies