]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
enabled SDL sound and CD
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 10 Oct 2004 18:51:32 +0000 (18:51 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 10 Oct 2004 18:51:32 +0000 (18:51 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4621 d7cf8633-e32d-0410-b094-e92efae38249

makefile.inc

index 4443fd0f4f287e0c941089597d6eb42fded32217..1da3a0c6157cb853958f840fd66c44946718e4f0 100644 (file)
@@ -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 $@ $<