Navigation Menu

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

Commit

Permalink
* Added preliminary render tests, missing some SDL functions to work …
Browse files Browse the repository at this point in the history
…properly.
  • Loading branch information
bobbens committed Jul 12, 2009
1 parent 7c2dd3f commit d3ac68a
Show file tree
Hide file tree
Showing 2 changed files with 686 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/automated/Makefile
Expand Up @@ -10,7 +10,7 @@ LDFLAGS := `sdl-config --libs`
COMMON_SRC := SDL_at.c common/common.c
COMMON_INCLUDE := SDL_at.h

TESTS_ALL := rwops/rwops surface/surface
TESTS_ALL := rwops/rwops surface/surface render/render


.PHONY: all clean test
Expand All @@ -21,12 +21,16 @@ all: $(TESTS_ALL)
test: all
@./rwops/rwops
@./surface/surface
@./render/render

rwops/rwops: rwops/rwops.c $(COMMON_INCLUDE)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ rwops/rwops.c $(COMMON_SRC)

surface/surface: surface/surface.c $(COMMON_INCLUDE)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ surface/surface.c $(COMMON_SRC)

render/render: render/render.c $(COMMON_INCLUDE)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ render/render.c $(COMMON_SRC)

clean:
$(RM) $(TESTS_ALL)

0 comments on commit d3ac68a

Please sign in to comment.