From 04fa39f287336c19953939f9523e04d0074a7f29 Mon Sep 17 00:00:00 2001 From: Taylor Holberton Date: Sat, 14 Jan 2017 12:09:56 -0800 Subject: linking with static libtinyalsa --- utils/Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'utils') 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: -- cgit v1.2.3