blob: 28f1215f7c94f9286c0f56f44f973a2b542e81d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
Index: daudio-0.3/client/Makefile
===================================================================
--- daudio-0.3.orig/client/Makefile
+++ daudio-0.3/client/Makefile
@@ -13,10 +13,10 @@ install: $(PROG)
install -c -m755 --owner=0 --group=0 -b -D daudioc $(PREFIX)/bin/daudioc
debug: $(SRCS)
- gcc $(DEFINES) -DDEBUG $(INCLUDES) $(LIBS) -o $(PROG) $^
+ $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) -DDEBUG $(INCLUDES) -o $(PROG) $^ $(LIBS)
$(PROG): $(SRCS)
- gcc $(DEFINES) $(INCLUDES) $(LIBS) -o $@ $^
+ $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) $(INCLUDES) -o $@ $^ $(LIBS)
clean:
rm -f $(PROG)
Index: daudio-0.3/server/Makefile
===================================================================
--- daudio-0.3.orig/server/Makefile
+++ daudio-0.3/server/Makefile
@@ -10,13 +10,13 @@ PREFIX = /usr/local
all: $(SBINS)
debug: $(SRCS)
- gcc -g $(DEFINES) $(INCLUDES) $(LIBS) -o daudiod $^
+ $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) $(INCLUDES) -o daudiod $^ $(LIBS)
install: $(SBINS)
install -c -m755 --owner=0 --group=0 -b -D daudiod $(PREFIX)/bin/daudiod
$(SBINS): $(SRCS)
- gcc $(DEFINES) $(INCLUDES) $(LIBS) -o $@ $^
+ $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) $(INCLUDES) -o $@ $^ $(LIBS)
clean:
rm -f $(SBINS)
Index: daudio-0.3/streamer/Makefile
===================================================================
--- daudio-0.3.orig/streamer/Makefile
+++ daudio-0.3/streamer/Makefile
@@ -12,7 +12,7 @@ install: $(SBINS)
install -c -m755 --owner=0 --group=0 -b -D dstreamer $(PREFIX)/bin/dstreamer
$(SBINS): $(SRCS)
- gcc $(DEFINES) $(INCLUDES) $(LIBS) -o $@ $^
+ $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) $(INCLUDES) -o $@ $^ $(LIBS)
clean:
rm -f $(SBINS)
|