mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-28 19:44:04 +02:00
29 lines
997 B
Diff
29 lines
997 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -2,7 +2,7 @@ VERSION=1.7.2
|
|
|
|
INSTALL_PREFIX=/usr/local
|
|
|
|
-CFLAGS+=-g -O2 -Wall -DVERSION=\"$(VERSION)\"
|
|
+CFLAGS+=-DVERSION=\"$(VERSION)\"
|
|
|
|
OBJSsl=sl.o snd_dev.o error.o utils.o
|
|
OBJSli=listener.o snd_dev.o error.o utils.o lib.o
|
|
@@ -11,13 +11,13 @@ OBJSsp=snd_dev.o lsp.o error.o utils.o
|
|
all: setlistener listener listenersoundpipe
|
|
|
|
setlistener: $(OBJSsl)
|
|
- $(CC) -g -Wall -W $(OBJSsl) -ldl -lncurses -o setlistener
|
|
+ $(CC) $(CFLAGS) $(OBJSsl) $(LDFLAGS) -ldl -lncurses -o setlistener
|
|
|
|
listener: $(OBJSli)
|
|
- $(CC) -g -Wall -W $(OBJSli) -ldl -lm -lsndfile -o listener -DCONFIGFILE=$(INSTALL_PREFIX)/etc/listener.conf
|
|
+ $(CC) $(CFLAGS) $(OBJSli) $(LDFLAGS) -ldl -lm -lsndfile -o listener -DCONFIGFILE=$(INSTALL_PREFIX)/etc/listener.conf
|
|
|
|
listenersoundpipe: $(OBJSsp)
|
|
- $(CC) -g -Wall -W $(OBJSsp) -o listenersoundpipe
|
|
+ $(CC) $(CFLAGS) $(OBJSsp) -o listenersoundpipe
|
|
|
|
install: setlistener listener listenersoundpipe
|
|
cp setlistener $(INSTALL_PREFIX)/bin
|