Mercurial > sdl-ios-xcode
comparison test/automated/Makefile @ 3741:808fad5fb593 gsoc2009_unit_tests
Added command line options.
Added verbosity levels.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Sun, 02 Aug 2009 18:58:03 +0000 |
parents | e451d5d288e9 |
children | 2b000dd830e8 |
comparison
equal
deleted
inserted
replaced
3740:e451d5d288e9 | 3741:808fad5fb593 |
---|---|
13 surface/surface.c \ | 13 surface/surface.c \ |
14 render/render.c | 14 render/render.c |
15 COMMON_SRC := SDL_at.c common/common.c | 15 COMMON_SRC := SDL_at.c common/common.c |
16 COMMON_INCLUDE := SDL_at.h | 16 COMMON_INCLUDE := SDL_at.h |
17 | 17 |
18 TESTS_ALL := rwops/rwops platform/platform surface/surface render/render | 18 TESTS_ALL := testsdl rwops/rwops platform/platform surface/surface render/render |
19 | 19 |
20 | 20 |
21 .PHONY: all clean test | 21 .PHONY: all clean test |
22 | 22 |
23 | 23 |
24 all: testsdl $(TESTS_ALL) | 24 all: $(TESTS_ALL) |
25 | 25 |
26 test: all | 26 test: all |
27 @./rwops/rwops | 27 @./rwops/rwops |
28 @./platform/platform | 28 @./platform/platform |
29 @./surface/surface | 29 @./surface/surface |
30 @./render/render | 30 @./render/render |
31 | 31 |
32 testsdl: | 32 testsdl: $(SRC) $(COMMON_SRC) |
33 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(SRC) $(COMMON_SRC) | 33 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(SRC) $(COMMON_SRC) |
34 | 34 |
35 rwops/rwops: rwops/rwops.c $(COMMON_INCLUDE) $(COMMON_SRC) | 35 rwops/rwops: rwops/rwops.c $(COMMON_INCLUDE) $(COMMON_SRC) |
36 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ rwops/rwops.c $(COMMON_SRC) -DTEST_STANDALONE | 36 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ rwops/rwops.c $(COMMON_SRC) -DTEST_STANDALONE |
37 | 37 |