Mercurial > sdl-ios-xcode
view test/automated/Makefile @ 3713:a34bab848c7e gsoc2009_unit_tests
Better output.
Newline handling.
rwops test handles ConstMem, FP and File.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Sat, 20 Jun 2009 16:46:58 +0000 |
parents | 916469fbdc29 |
children | 1b710c8e4cfb |
line wrap: on
line source
CFLAGS := -I. `sdl-config --cflags` LDFLAGS := `sdl-config --libs` COMMON_SRC := SDL_at.c COMMON_INCLUDE := SDL_at.h TESTS_ALL := rwops/rwops .PHONY: all clean test all: $(TESTS_ALL) test: @./rwops/rwops rwops/rwops: rwops/rwops.c $(COMMON_INCLUDE) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ rwops/rwops.c $(COMMON_SRC) clean: $(RM) $(TESTS_ALL)