summaryrefslogtreecommitdiffstats
path: root/libao2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libao2/Makefile')
-rw-r--r--libao2/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/libao2/Makefile b/libao2/Makefile
index c726ab42de..9d64132ce3 100644
--- a/libao2/Makefile
+++ b/libao2/Makefile
@@ -1,9 +1,10 @@
-include ../config.mak
+include config.mak
LIBNAME = libao.a
-SRCS=audio_out.c ao_oss.c ao_null.c
+# TODO: moveout ao_sdl.c so it's only used when SDL is detected
+SRCS=audio_out.c ao_oss.c ao_null.c $(OPTIONAL_SRCS)
OBJS=$(SRCS:.c=.o)
CFLAGS = $(OPTFLAGS) -I. -I..