summaryrefslogtreecommitdiff
blob: f1e097fd6d1b99ff42ff721566d9006d95774f02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- dvbtune-0.5/Makefile.orig	2006-01-06 13:01:11.973196250 +0100
+++ dvbtune-0.5/Makefile	2006-01-06 13:01:46.667364500 +0100
@@ -1,5 +1,5 @@
 INCS=-I /usr/include/libxml2
-CFLAGS= -Wall $(INCS)
-CC=gcc
+CFLAGS ?= -Wall
+CFLAGS += $(INCS)
 all: dvbtune
 
@@ -33,7 +33,7 @@
 dvbtune: dvbtune.c tune.o
 
 xml2vdr: xml2vdr.c
-	 $(CC) $(CFLAGS) -o xml2vdr xml2vdr.c -lxml2
+	 $(CC) $(CFLAGS) -o xml2vdr xml2vdr.c -lxml2 $(LDFLAGS)
 
 clean:
 	rm -f *.o *~ dvbtune xml2vdr