changeset 3732:e552b7acd45a gsoc2009_unit_tests

Better handling of makefile dependencies.
author Edgar Simo <bobbens@gmail.com>
date Wed, 15 Jul 2009 14:40:09 +0000
parents f5ddf1b670f0
children ca544951b504
files test/automated/Makefile
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/automated/Makefile	Wed Jul 15 08:50:24 2009 +0000
+++ b/test/automated/Makefile	Wed Jul 15 14:40:09 2009 +0000
@@ -23,13 +23,13 @@
 	@./surface/surface
 	@./render/render
 
-rwops/rwops: rwops/rwops.c $(COMMON_INCLUDE)
+rwops/rwops: rwops/rwops.c $(COMMON_INCLUDE) $(COMMON_SRC)
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ rwops/rwops.c $(COMMON_SRC)
 
-surface/surface: surface/surface.c $(COMMON_INCLUDE)
+surface/surface: surface/surface.c $(COMMON_INCLUDE) $(COMMON_SRC)
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ surface/surface.c $(COMMON_SRC)
 
-render/render: render/render.c $(COMMON_INCLUDE)
+render/render: render/render.c $(COMMON_INCLUDE) $(COMMON_SRC)
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ render/render.c $(COMMON_SRC)
 
 clean: