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

Commit

Permalink
Better handling of makefile dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbens committed Jul 15, 2009
1 parent 1fbe1e0 commit 9e955d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/automated/Makefile
Expand Up @@ -23,13 +23,13 @@ test: all
@./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:
Expand Down

0 comments on commit 9e955d5

Please sign in to comment.