Mercurial > sdl-ios-xcode
diff test/automated/Makefile @ 3736:78f544eded7b gsoc2009_unit_tests
Added platform test based ot testplatform.c.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Mon, 20 Jul 2009 18:42:55 +0000 |
parents | e552b7acd45a |
children | e451d5d288e9 |
line wrap: on
line diff
--- a/test/automated/Makefile Mon Jul 20 18:07:29 2009 +0000 +++ b/test/automated/Makefile Mon Jul 20 18:42:55 2009 +0000 @@ -10,7 +10,7 @@ COMMON_SRC := SDL_at.c common/common.c COMMON_INCLUDE := SDL_at.h -TESTS_ALL := rwops/rwops surface/surface render/render +TESTS_ALL := rwops/rwops platform/platform surface/surface render/render .PHONY: all clean test @@ -20,12 +20,16 @@ test: all @./rwops/rwops + @./platform/platform @./surface/surface @./render/render rwops/rwops: rwops/rwops.c $(COMMON_INCLUDE) $(COMMON_SRC) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ rwops/rwops.c $(COMMON_SRC) +platform/platform: platform/platform.c $(COMMON_INCLUDE) $(COMMON_SRC) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ platform/platform.c $(COMMON_SRC) + surface/surface: surface/surface.c $(COMMON_INCLUDE) $(COMMON_SRC) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ surface/surface.c $(COMMON_SRC)