summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--Makefile4
2 files changed, 3 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 3cb5aff..3248c1c 100644
--- a/HISTORY
+++ b/HISTORY
@@ -240,3 +240,4 @@ NOTE: I havent found time to include all of the languages, will be done in pre2
- dxr3memcpy.c/h: should now compile on alpha and powerpc
- fixed i18n, and improved Finnish translations and some others
- removed -lz from makefile
+- use $CXX for generating dependencies instead of hardcoded g++
diff --git a/Makefile b/Makefile
index 4c0146f..10b21df 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile,v 1.1.2.1 2005/03/14 11:16:41 scop Exp $
+# $Id: Makefile,v 1.1.2.2 2005/03/14 11:21:29 scop Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -70,7 +70,7 @@ dxr3cpu.o dxr3memcpy.o
# Dependencies:
-MAKEDEP = g++ -MM -MG
+MAKEDEP = $(CXX) -MM -MG
DEPFILE = .dependencies
$(DEPFILE): Makefile
@$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@