From 83ac2a8d259bb07f8cc754d8eacd0a63217d713c Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 5 Feb 2017 17:54:56 +0100 Subject: Compile engine as a library. --- drumgizmo/Makefile.am | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'drumgizmo') diff --git a/drumgizmo/Makefile.am b/drumgizmo/Makefile.am index 369cd03..ee51e66 100644 --- a/drumgizmo/Makefile.am +++ b/drumgizmo/Makefile.am @@ -2,15 +2,13 @@ DISTDIRS = input output if ENABLE_CLI -include $(top_srcdir)/src/Makefile.am.drumgizmo - bin_PROGRAMS = drumgizmo -drumgizmo_LDADD = $(DRUMGIZMO_LIBS) $(JACK_LIBS) +drumgizmo_LDADD = $(JACK_LIBS) $(top_srcdir)/src/libdg.la drumgizmo_LDFLAGS = -drumgizmo_CXXFLAGS = $(DRUMGIZMO_CPPFLAGS) \ +drumgizmo_CXXFLAGS = \ -I$(top_srcdir)/include -I$(top_srcdir)/src \ -I$(top_srcdir)/hugin -DWITH_HUG_MUTEX -DWITH_HUG_FILTER \ $(JACK_CFLAGS) $(SSEFLAGS) @@ -20,7 +18,6 @@ drumgizmo_CFLAGS = -DWITH_HUG_MUTEX -DWITH_HUG_FILTER drumgizmo_SOURCES = \ drumgizmoc.cc \ enginefactory.cc \ - $(DRUMGIZMO_SOURCES) \ $(top_srcdir)/hugin/hugin.c \ $(top_srcdir)/hugin/hugin_filter.c -- cgit v1.2.3