diff test/automated/Makefile @ 3756:427f059bc814 gsoc2009_unit_tests

Added simple audio test.
author Edgar Simo <bobbens@gmail.com>
date Mon, 17 Aug 2009 17:52:42 +0000
parents 2b000dd830e8
children
line wrap: on
line diff
--- a/test/automated/Makefile	Thu Aug 06 17:00:07 2009 +0000
+++ b/test/automated/Makefile	Mon Aug 17 17:52:42 2009 +0000
@@ -11,11 +11,17 @@
 						rwops/rwops.c \
 						platform/platform.c \
 						surface/surface.c \
-						render/render.c
+						render/render.c \
+						audio/audio.c
 COMMON_SRC     := SDL_at.c common/common.c
 COMMON_INCLUDE := SDL_at.h
 
-TESTS_ALL := testsdl rwops/rwops platform/platform surface/surface render/render
+TESTS_ALL := testsdl \
+	rwops/rwops \
+	platform/platform \
+	surface/surface \
+	render/render \
+	audio/audio
 
 
 .PHONY: all clean test
@@ -41,5 +47,8 @@
 render/render: render/render.c $(COMMON_INCLUDE) $(COMMON_SRC)
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ render/render.c $(COMMON_SRC) -DTEST_STANDALONE
 
+audio/audio: audio/audio.c $(COMMON_INCLUDE) $(COMMON_SRC)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ audio/audio.c $(COMMON_SRC) -DTEST_STANDALONE
+
 clean:
 	$(RM) $(TESTS_ALL)