projects
/
sdlhildon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial import for sdlhaa & sdlhim
[sdlhildon]
/
sdlhaa
/
test
/
Makefile
1
CFLAGS:=-g -O0 -Wall
2
3
TEST_LDLIBS:=$(shell sdl-config --libs) -lSDL_haa
4
TEST_CFLAGS:=$(shell sdl-config --cflags)
5
6
TESTS:=basic multi alpha fullscreen
7
8
all: $(TESTS)
9
10
$(TESTS): %: %.o
11
$(CC) $(LDFLAGS) $(TEST_LDFLAGS) $(LDLIBS) $(TEST_LDLIBS) -o $@ $^
12
13
%.o: %.c
14
$(CC) $(CFLAGS) $(TEST_CFLAGS) -c -o $@ $^
15
16
clean:
17
rm -f *.o $(TESTS)
18