diff options
| author | Gary Scavone <gary@music.mcgill.ca> | 2016-02-11 10:58:57 -0500 |
|---|---|---|
| committer | Gary Scavone <gary@music.mcgill.ca> | 2016-02-11 10:58:57 -0500 |
| commit | fb24c2f884a1f88a60ae818d88e3782498b59351 (patch) | |
| tree | f92eb7d0b81418407ffb4b0c65452912eaaf4d96 /rtmidi-config | |
| parent | 32ccbf50a028826574f0dc1ad0c5dd3fab650c9a (diff) | |
Release 2.1.1 tarballreleases
Diffstat (limited to 'rtmidi-config')
| -rwxr-xr-x | rtmidi-config | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/rtmidi-config b/rtmidi-config new file mode 100755 index 0000000..f8b976e --- /dev/null +++ b/rtmidi-config @@ -0,0 +1,19 @@ +#! /bin/sh +if (test "x$#" != "x1") ; then + echo "Usage: $0 [--libs | --cxxflags | --cppflags]" + exit; +fi + +LIBRARY="-framework CoreMIDI -framework CoreFoundation -framework CoreAudio" +CXXFLAGS="-g -Wall -Wextra" +CPPFLAGS=" -D__RTMIDI_DEBUG__ -D__MACOSX_CORE__" + +if (test "x$1" = "x--libs") ; then + echo "$LIBRARY -lrtmidi" +elif (test "x$1" = "x--cxxflags") ; then + echo "$CXXFLAGS" +elif (test "x$1" = "x--cppflags") ; then + echo "$CPPFLAGS" +else + echo "Unknown option: $1" +fi |
