Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
3755:e04d9c69a6fd | 3756:427f059bc814 |
---|---|
9 | 9 |
10 SRC := testsdl.c \ | 10 SRC := testsdl.c \ |
11 rwops/rwops.c \ | 11 rwops/rwops.c \ |
12 platform/platform.c \ | 12 platform/platform.c \ |
13 surface/surface.c \ | 13 surface/surface.c \ |
14 render/render.c | 14 render/render.c \ |
15 audio/audio.c | |
15 COMMON_SRC := SDL_at.c common/common.c | 16 COMMON_SRC := SDL_at.c common/common.c |
16 COMMON_INCLUDE := SDL_at.h | 17 COMMON_INCLUDE := SDL_at.h |
17 | 18 |
18 TESTS_ALL := testsdl rwops/rwops platform/platform surface/surface render/render | 19 TESTS_ALL := testsdl \ |
20 rwops/rwops \ | |
21 platform/platform \ | |
22 surface/surface \ | |
23 render/render \ | |
24 audio/audio | |
19 | 25 |
20 | 26 |
21 .PHONY: all clean test | 27 .PHONY: all clean test |
22 | 28 |
23 | 29 |
39 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ surface/surface.c $(COMMON_SRC) -DTEST_STANDALONE | 45 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ surface/surface.c $(COMMON_SRC) -DTEST_STANDALONE |
40 | 46 |
41 render/render: render/render.c $(COMMON_INCLUDE) $(COMMON_SRC) | 47 render/render: render/render.c $(COMMON_INCLUDE) $(COMMON_SRC) |
42 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ render/render.c $(COMMON_SRC) -DTEST_STANDALONE | 48 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ render/render.c $(COMMON_SRC) -DTEST_STANDALONE |
43 | 49 |
50 audio/audio: audio/audio.c $(COMMON_INCLUDE) $(COMMON_SRC) | |
51 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ audio/audio.c $(COMMON_SRC) -DTEST_STANDALONE | |
52 | |
44 clean: | 53 clean: |
45 $(RM) $(TESTS_ALL) | 54 $(RM) $(TESTS_ALL) |