aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/utils/Makefile b/utils/Makefile
index de34f94..dc5fd64 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -19,19 +19,21 @@ VPATH = ../src:../include/tinyalsa
.PHONY: all
all: -ltinyalsa tinyplay tinycap tinymix tinypcminfo
-tinyplay: tinyplay.o libtinyalsa.a -ldl
+tinyplay tinycap tinypcminfo: LDLIBS+=-ldl
+
+tinyplay: tinyplay.o libtinyalsa.a
tinyplay.o: tinyplay.c pcm.h mixer.h asoundlib.h
-tinycap: tinycap.o libtinyalsa.a -ldl
+tinycap: tinycap.o libtinyalsa.a
tinycap.o: tinycap.c pcm.h mixer.h asoundlib.h
-tinymix: tinymix.o libtinyalsa.a -ldl
+tinymix: tinymix.o libtinyalsa.a
tinymix.o: tinymix.c pcm.h mixer.h asoundlib.h
-tinypcminfo: tinypcminfo.o libtinyalsa.a -ldl
+tinypcminfo: tinypcminfo.o libtinyalsa.a
tinypcminfo.o: tinypcminfo.c pcm.h mixer.h asoundlib.h