Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Make makefile a bit more complete.
  • Loading branch information
bobbens committed Jun 19, 2009
1 parent 3ca2e93 commit ea12d6afcf9389c6f4e63e3e06203cd55ce9a015
Showing with 10 additions and 2 deletions.
  1. +10 −2 test/automated/Makefile
@@ -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.