aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2017-01-14 12:09:56 -0800
committerTaylor Holberton <taylorcholberton@gmail.com>2017-01-14 12:09:56 -0800
commit04fa39f287336c19953939f9523e04d0074a7f29 (patch)
tree5b1713807a71bc47a19c0f36c31a5b0c1d79e5cc /utils
parente1c6374e7bacc4492b9745817af69cc266cb7340 (diff)
linking with static libtinyalsa
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 731c01f..ad4bc5c 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -16,17 +16,13 @@ VPATH = ../src:../include/tinyalsa
.PHONY: all
all: -ltinyalsa tinyplay tinycap tinymix tinypcminfo
-tinyplay: tinyplay.c pcm.h mixer.h asoundlib.h -ltinyalsa
- $(CC) $(CFLAGS) $< -o $@ -ltinyalsa
+tinyplay: tinyplay.c pcm.h mixer.h asoundlib.h libtinyalsa.a
-tinycap: tinycap.c pcm.h mixer.h asoundlib.h
- $(CC) $(CFLAGS) $< -o $@ -ltinyalsa
+tinycap: tinycap.c pcm.h mixer.h asoundlib.h libtinyalsa.a
-tinymix: tinymix.c pcm.h mixer.h asoundlib.h
- $(CC) $(CFLAGS) $< -o $@ -ltinyalsa
+tinymix: tinymix.c pcm.h mixer.h asoundlib.h libtinyalsa.a
-tinypcminfo: tinypcminfo.c pcm.h mixer.h asoundlib.h
- $(CC) $(CFLAGS) $< -o $@ -ltinyalsa
+tinypcminfo: tinypcminfo.c pcm.h mixer.h asoundlib.h libtinyalsa.a
.PHONY: clean
clean: