summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-09-09 15:47:51 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-09-09 15:47:51 -0700
commit42977fb0776f8907435d65de7c6b348c45e1a3e9 (patch)
treed1c3a4999cb35e9177416096289d1eca774c8e5a /src/Makefile.am
parent24ff328c9ce7255dc6f7ff2d3496003f9382c8c3 (diff)
configure: implement --with-audio=(no|yes)
This adds the ability to turn off the audio/music parts of the API, removing the SDL2_Mixer dependency when disabled. It will also automatically disable the audio/music parts of the API when SDL2_Mixer isn't detected @ configure time and --with-audio was unspecified. It's a bit ugly with a bunch of #ifdef's in play.c, oh well.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index aff4573..6d5fc80 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,2 +1,2 @@
noinst_LIBRARIES = libplay.a
-libplay_a_SOURCES = play.c play.h
+libplay_a_SOURCES = macros.h play.c play.h
© All Rights Reserved