comparison test/automated/Makefile @ 3714:1b710c8e4cfb gsoc2009_unit_tests

Test target should build if needed.
author Edgar Simo <bobbens@gmail.com>
date Sat, 20 Jun 2009 16:54:22 +0000
parents a34bab848c7e
children 3c9d9c052c8f
comparison
equal deleted inserted replaced
3713:a34bab848c7e 3714:1b710c8e4cfb
12 .PHONY: all clean test 12 .PHONY: all clean test
13 13
14 14
15 all: $(TESTS_ALL) 15 all: $(TESTS_ALL)
16 16
17 test: 17 test: all
18 @./rwops/rwops 18 @./rwops/rwops
19 19
20 rwops/rwops: rwops/rwops.c $(COMMON_INCLUDE) 20 rwops/rwops: rwops/rwops.c $(COMMON_INCLUDE)
21 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ rwops/rwops.c $(COMMON_SRC) 21 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ rwops/rwops.c $(COMMON_SRC)
22 22