aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2020-09-16 12:31:11 -0700
committerGlenn Kasten <gkasten@google.com>2020-09-16 12:37:00 -0700
commit299219cedb8e056daee8d46f182fa262ced00927 (patch)
treeac6245d0b2ee51705efdb4e40f2f265eee60c60c
parent15b7725e0a415ec34592fa325db63cf58a892a47 (diff)
Fix Makefile dependencies
-rw-r--r--src/Makefile12
-rw-r--r--utils/Makefile8
2 files changed, 10 insertions, 10 deletions
diff --git a/src/Makefile b/src/Makefile
index 79628b5..aaa84b8 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -23,19 +23,19 @@ LIBVERSION = $(TINYALSA_VERSION)
.PHONY: all
all: libtinyalsa.a libtinyalsa.so
-pcm.o: pcm.c pcm.h
+pcm.o: pcm.c limits.h pcm.h pcm_io.h plugin.h snd_card_plugin.h
-pcm_plugin.o: pcm_plugin.c pcm_io.h
+pcm_plugin.o: pcm_plugin.c asoundlib.h pcm_io.h plugin.h snd_card_plugin.h
-pcm_hw.o: pcm_hw.c pcm_io.h
+pcm_hw.o: pcm_hw.c asoundlib.h pcm_io.h
limits.o: limits.c limits.h
-mixer.o: mixer.c mixer.h
+mixer.o: mixer.c mixer.h mixer_io.h plugin.h
-snd_card_plugin.o: snd_card_plugin.c snd_card_plugin.h
+snd_card_plugin.o: snd_card_plugin.c plugin.h snd_card_plugin.h
-mixer_plugin.o: mixer_plugin.c mixer_io.h
+mixer_plugin.o: mixer_plugin.c mixer_io.h plugin.h snd_card_plugin.h
mixer_hw.o: mixer_hw.c mixer_io.h
diff --git a/utils/Makefile b/utils/Makefile
index 2e4bef6..f733c39 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -23,19 +23,19 @@ tinyplay tinycap tinypcminfo tinymix: LDLIBS+=-ldl
tinyplay: tinyplay.o libtinyalsa.a
-tinyplay.o: tinyplay.c pcm.h mixer.h asoundlib.h
+tinyplay.o: tinyplay.c pcm.h mixer.h asoundlib.h optparse.h
tinycap: tinycap.o libtinyalsa.a
-tinycap.o: tinycap.c pcm.h mixer.h asoundlib.h
+tinycap.o: tinycap.c pcm.h mixer.h asoundlib.h optparse.h
tinymix: tinymix.o libtinyalsa.a
-tinymix.o: tinymix.c pcm.h mixer.h asoundlib.h
+tinymix.o: tinymix.c pcm.h mixer.h asoundlib.h optparse.h
tinypcminfo: tinypcminfo.o libtinyalsa.a
-tinypcminfo.o: tinypcminfo.c pcm.h mixer.h asoundlib.h
+tinypcminfo.o: tinypcminfo.c pcm.h mixer.h asoundlib.h optparse.h
.PHONY: clean
clean: