summaryrefslogtreecommitdiff
path: root/media-plugins/vdr-wirbelscan/files/vdr-wirbelscan_Makefile.patch
blob: 505f457f25788c4a66ae4218fc4b84b089dbb0a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/Makefile
+++ b/Makefile
@@ -8,12 +8,12 @@
 #/******************************************************************************
 # * if you prefer verbose non-coloured build messages, remove the '@' here:
 # *****************************************************************************/
-CC  = @gcc
-CXX = @g++
+CC  ?= @gcc
+CXX ?= @g++
 
           
 PWD = $(shell pwd)
-PLUGIN = $(shell basename $(PWD) | cut -d- -f1)
+PLUGIN = wirbelscan
 CPPSRC = $(wildcard *.cpp)
 OBJS   = $(CPPSRC:%.cpp=%.o)
 LDFLAGS?=