summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index b112ba6..d811f08 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,3 +1,9 @@
+lib_LTLIBRARIES = libmedia.la libsubdev.la
+libmedia_la_SOURCES = media.c
+libsubdev_la_SOURCES = subdev.c
+include_HEADERS = media.h subdev.h
+
bin_PROGRAMS = media-ctl
-media_ctl_SOURCES = main.c media.c media.h options.c options.h subdev.c subdev.h tools.h
+media_ctl_SOURCES = main.c options.c options.h tools.h
+media_ctl_LDADD = libmedia.la libsubdev.la