Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed compiling with the latest API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 2, 2011
1 parent b23c1a6 commit fb96bef
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 85 deletions.
12 changes: 6 additions & 6 deletions test/automated/Makefile
Expand Up @@ -9,15 +9,15 @@ LDFLAGS := `sdl-config --libs`

SRC := testsdl.c \
platform/platform.c \
rwops/rwops.c \
rwops/TestSupportRWops.c \
rect/rect.c \
surface/surface.c \
render/render.c \
audio/audio.c
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 \
Expand All @@ -35,14 +35,14 @@ all: $(TESTS_ALL)
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
Expand Down

0 comments on commit fb96bef

Please sign in to comment.