diff options
| author | Sebastien Alaiwan <sebastien.alaiwan@gmail.com> | 2014-04-11 20:45:06 +0200 |
|---|---|---|
| committer | Sebastien Alaiwan <sebastien.alaiwan@gmail.com> | 2014-04-11 20:45:06 +0200 |
| commit | 8b5fe7703c9074ec3b957d6e32ad5267afe233e4 (patch) | |
| tree | 46a734836679e1ae929462554368399ec0808f82 | |
| parent | c72f7fc50c59145a378412c592969845d02bc908 (diff) | |
rtmidi can now easily be nested into another project
| -rw-r--r-- | Makefile.am | 7 | ||||
| -rw-r--r-- | configure.ac | 1 |
2 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 299f0c0..4fd5c9a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,4 @@ -noinst_LIBRARIES = %D%/librtmidi.a -librtmidi_a_SOURCES = %D%/RtMidi.cpp \ - %D%/RtMidi.h +noinst_LIBRARIES += %D%/librtmidi.a +%C%_librtmidi_a_SOURCES = \ + %D%/RtMidi.cpp \ + %D%/RtMidi.h diff --git a/configure.ac b/configure.ac index b548413..413ed78 100644 --- a/configure.ac +++ b/configure.ac @@ -7,6 +7,7 @@ AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) # Fill GXX with something before test. AC_SUBST( GXX, ["no"] ) +AC_SUBST(noinst_LIBRARIES) # Checks for programs. AC_PROG_CXX(g++ CC c++ cxx) |
