Fixed 'newplugin' to use the compiler defined in $(CXX) for generating file dependencies

This commit is contained in:
Klaus Schmidinger 2004-10-16 12:14:31 +02:00
parent a31266c9ec
commit 414548446b
3 changed files with 6 additions and 2 deletions

View File

@ -754,6 +754,8 @@ Christoph Friederich <christoph.friederich@gmx.de>
Andreas Brachold <andy03@deltab.de>
for his support in keeping 'channels.conf.terr' up to date
for fixing 'newplugin' to use the compiler defined in $(CXX) for generating file
dependencies
Manuel Hartl <icecep@gmx.net>
for suggesting to extend the logging info when starting/stopping timers

View File

@ -3013,3 +3013,5 @@ Video Disk Recorder Revision History
currently in use (it will then return a dummy cOsd object and write a message to
the log file).
- Added Estonian language texts (thanks to Arthur Konovalov).
- Fixed 'newplugin' to use the compiler defined in $(CXX) for generating file
dependencies (thanks to Andreas Brachold).

View File

@ -12,7 +12,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
# $Id: newplugin 1.16 2003/12/21 15:45:18 kls Exp $
# $Id: newplugin 1.17 2004/10/16 12:12:43 kls Exp $
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
@ -110,7 +110,7 @@ OBJS = \$(PLUGIN).o
# Dependencies:
MAKEDEP = g++ -MM -MG
MAKEDEP = \$(CXX) -MM -MG
DEPFILE = .dependencies
\$(DEPFILE): Makefile
\@\$(MAKEDEP) \$(DEFINES) \$(INCLUDES) \$(OBJS:%.o=%.c) > \$\@