aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Wilson <simonrules@users.noreply.github.com>2020-09-16 14:12:32 -0600
committerGitHub <noreply@github.com>2020-09-16 14:12:32 -0600
commit6a4cab794ce3d8673242e982dd15805cf963126e (patch)
treeb7ae52c52cfa0fdb5d07a21d53fd7bff878d1a6f
parenteefbee389566f2deba7e663df656c9b70e008829 (diff)
parent299219cedb8e056daee8d46f182fa262ced00927 (diff)
Merge pull request #181 from gkasten/make_depend
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: