summaryrefslogtreecommitdiff
path: root/newplugin
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-10-16 12:14:31 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-10-16 12:14:31 +0200
commit414548446b9fc0122f6ca44145cc8e32747e8ddd (patch)
tree78505cc7ede1b1e84680465c7f96e6eae95ef965 /newplugin
parenta31266c9ecfcf7af9781c47a6b246c5108a2e597 (diff)
downloadvdr-414548446b9fc0122f6ca44145cc8e32747e8ddd.tar.gz
vdr-414548446b9fc0122f6ca44145cc8e32747e8ddd.tar.bz2
Fixed 'newplugin' to use the compiler defined in $(CXX) for generating file dependencies
Diffstat (limited to 'newplugin')
-rwxr-xr-xnewplugin4
1 files changed, 2 insertions, 2 deletions
diff --git a/newplugin b/newplugin
index 8adae35f..07d3f685 100755
--- a/newplugin
+++ b/newplugin
@@ -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) > \$\@