Mercurial > sdl-ios-xcode
diff test/automated/Makefile @ 5156:3e4086b3bcd2
Fixed compiling with the latest API changes
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 02 Feb 2011 14:34:24 -0800 |
parents | 033c455bbe99 |
children |
line wrap: on
line diff
--- a/test/automated/Makefile Tue Feb 01 21:51:54 2011 -0800 +++ b/test/automated/Makefile Wed Feb 02 14:34:24 2011 -0800 @@ -9,8 +9,6 @@ SRC := testsdl.c \ platform/platform.c \ - rwops/rwops.c \ - rwops/TestSupportRWops.c \ rect/rect.c \ surface/surface.c \ render/render.c \ @@ -18,6 +16,8 @@ COMMON_SRC := SDL_at.c common/common.c COMMON_INCLUDE := SDL_at.h +RWOPS_SRC := rwops/rwops.c rwops/TestSupportRWops_Generic.c + TESTS_ALL := testsdl \ platform/platform \ rwops/rwops \ @@ -35,14 +35,14 @@ test: all @./testsdl -testsdl: $(SRC) $(COMMON_SRC) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(SRC) $(COMMON_SRC) +testsdl: $(SRC) $(RWOPS_SRC) $(COMMON_SRC) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(SRC) $(RWOPS_SRC) $(COMMON_SRC) platform/platform: platform/platform.c $(COMMON_INCLUDE) $(COMMON_SRC) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ platform/platform.c $(COMMON_SRC) -DTEST_STANDALONE -rwops/rwops: rwops/rwops.c $(COMMON_INCLUDE) $(COMMON_SRC) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ rwops/rwops.c $(COMMON_SRC) -DTEST_STANDALONE +rwops/rwops: $(RWOPS_SRC) $(COMMON_INCLUDE) $(COMMON_SRC) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(RWOPS_SRC) $(COMMON_SRC) -DTEST_STANDALONE rect/rect: rect/rect.c $(COMMON_INCLUDE) $(COMMON_SRC) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ rect/rect.c $(COMMON_SRC) -DTEST_STANDALONE