Mercurial > sdl-ios-xcode
comparison test/automated/Makefile @ 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 | dafd796f0c95 |
children | 78f544eded7b |
comparison
equal
deleted
inserted
replaced
3731:f5ddf1b670f0 | 3732:e552b7acd45a |
---|---|
21 test: all | 21 test: all |
22 @./rwops/rwops | 22 @./rwops/rwops |
23 @./surface/surface | 23 @./surface/surface |
24 @./render/render | 24 @./render/render |
25 | 25 |
26 rwops/rwops: rwops/rwops.c $(COMMON_INCLUDE) | 26 rwops/rwops: rwops/rwops.c $(COMMON_INCLUDE) $(COMMON_SRC) |
27 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ rwops/rwops.c $(COMMON_SRC) | 27 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ rwops/rwops.c $(COMMON_SRC) |
28 | 28 |
29 surface/surface: surface/surface.c $(COMMON_INCLUDE) | 29 surface/surface: surface/surface.c $(COMMON_INCLUDE) $(COMMON_SRC) |
30 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ surface/surface.c $(COMMON_SRC) | 30 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ surface/surface.c $(COMMON_SRC) |
31 | 31 |
32 render/render: render/render.c $(COMMON_INCLUDE) | 32 render/render: render/render.c $(COMMON_INCLUDE) $(COMMON_SRC) |
33 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ render/render.c $(COMMON_SRC) | 33 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ render/render.c $(COMMON_SRC) |
34 | 34 |
35 clean: | 35 clean: |
36 $(RM) $(TESTS_ALL) | 36 $(RM) $(TESTS_ALL) |