aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorTaylor Holberton <tay10r@protonmail.com>2020-02-11 14:03:06 -0500
committerGitHub <noreply@github.com>2020-02-11 14:03:06 -0500
commit5389c1f796ea153232a582bd28e73be43638a124 (patch)
tree21c980b1636350b75d1490bad5b9c62c82318f12 /src/Makefile
parent80beaac3f4962f528abaa08f067c58183011c93b (diff)
parente7c627dd74f5d43439792491c291564e298cbb10 (diff)
Merge pull request #137 from codeauroraforum/plugin-support
Plugin support
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index aa00484..79628b5 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -15,7 +15,7 @@ INCLUDE_DIRS = -I ../include
override CFLAGS := $(WARNINGS) $(INCLUDE_DIRS) -fPIC $(CFLAGS)
VPATH = ../include/tinyalsa
-OBJECTS = limits.o mixer.o pcm.o
+OBJECTS = limits.o mixer.o pcm.o pcm_plugin.o pcm_hw.o snd_card_plugin.o mixer_plugin.o mixer_hw.o
LIBVERSION_MAJOR = $(TINYALSA_VERSION_MAJOR)
LIBVERSION = $(TINYALSA_VERSION)
@@ -25,10 +25,20 @@ all: libtinyalsa.a libtinyalsa.so
pcm.o: pcm.c pcm.h
+pcm_plugin.o: pcm_plugin.c pcm_io.h
+
+pcm_hw.o: pcm_hw.c pcm_io.h
+
limits.o: limits.c limits.h
mixer.o: mixer.c mixer.h
+snd_card_plugin.o: snd_card_plugin.c snd_card_plugin.h
+
+mixer_plugin.o: mixer_plugin.c mixer_io.h
+
+mixer_hw.o: mixer_hw.c mixer_io.h
+
libtinyalsa.a: $(OBJECTS)
$(AR) $(ARFLAGS) $@ $^