summaryrefslogtreecommitdiff
blob: e718366fa093b2d364678f078aa8503aad090abb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/Makefile
+++ b/Makefile_new
@@ -9,8 +9,8 @@
 
 DISTFILES=gkrellm_radio.c radio.c radio.h videodev.h README Makefile CHANGES
 
-CC=gcc
-LDFLAGS=
+CC=$(CC)
+LDFLAGS=$(LDFLAGS)
 OBJS=gkrellm_radio.o radio.o
 PLUGIN_DIR ?= /usr/local/lib/gkrellm2/plugins
 INSTALL = install -c
@@ -35,7 +35,7 @@
 export PACKAGE LOCALEDIR
 
 radio.so: $(OBJS)
-	$(CC) -shared -Wl -o radio.so $(OBJS) $(LDFLAGS) 
+	$(CC) -shared -o radio.so $(OBJS) $(LDFLAGS) 
 	(cd po && ${MAKE} all )
 
 %.o: %.c