From 040b91e774cf55247a5af8ea0854cceb12a35229 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 10 Oct 2004 18:51:32 +0000 Subject: [PATCH] enabled SDL sound and CD git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4621 d7cf8633-e32d-0410-b094-e92efae38249 --- makefile.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/makefile.inc b/makefile.inc index 4443fd0f..1da3a0c6 100644 --- a/makefile.inc +++ b/makefile.inc @@ -106,7 +106,7 @@ OBJ_COMMON= \ # being linked, because it should be recompiled every time an executable is # built to give the executable a proper date string OBJ_SV= builddate.c sys_linux.o vid_null.o $(OBJ_NOSOUND) $(OBJ_NOCD) $(OBJ_COMMON) -OBJ_SDL= builddate.c sys_sdl.o vid_sdl.o $(OBJ_NOSOUND) $(OBJ_NOCD) $(OBJ_COMMON) +OBJ_SDL= builddate.c sys_sdl.o vid_sdl.o $(OBJ_COMMONSOUND) snd_sdl.o cd_sdl.o $(OBJ_COMMON) # Compilation @@ -309,6 +309,12 @@ vid_sdl.o: vid_sdl.c sys_sdl.o: sys_sdl.c $(DO_CC) `sdl-config --cflags` +snd_sdl.o: snd_sdl.c + $(DO_CC) `sdl-config --cflags` + +cd_sdl.o: cd_sdl.c + $(DO_CC) `sdl-config --cflags` + darkplaces.o: %.o : %.rc windres -o $@ $< -- 2.39.2