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

Commit

Permalink
Make makefile a bit more complete.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbens committed Jun 19, 2009
1 parent 3ca2e93 commit ea12d6a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions test/automated/Makefile
Expand Up @@ -6,11 +6,19 @@ LDFLAGS := `sdl-config --libs`
COMMON_SRC := SDL_at.c
COMMON_INCLUDE := SDL_at.h

TESTS_ALL := rwops

.PHONY: all

.PHONY: all clean test

all: rwops

all: $(TESTS_ALL)

test:
@./rwops

rwops: rwops.c $(COMMON_INCLUDE)
$(CC) $(CFLAGS) $(LDFLAGS) -o rwops rwops.c $(COMMON_SRC)

clean:
$(RM) $(TESTS_ALL)

0 comments on commit ea12d6a

Please sign in to comment.