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

Latest commit

 

History

History
36 lines (22 loc) · 838 Bytes

File metadata and controls

36 lines (22 loc) · 838 Bytes
 
Jul 11, 2009
Jul 11, 2009
3
CFLAGS := -W -Wall -Wextra -g -I. `sdl-config --cflags`
Jul 7, 2009
Jul 7, 2009
4
LDFLAGS := `sdl-config --libs`
Jul 1, 2009
Jul 1, 2009
6
# If it doesn't pick up defaults
Jul 7, 2009
Jul 7, 2009
7
8
#CFLAGS := -I. -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include/SDL
#LDFLAGS := -lm -ldl -lesd -lpthread
Jul 1, 2009
Jul 1, 2009
9
Jul 11, 2009
Jul 11, 2009
10
COMMON_SRC := SDL_at.c common/common.c
11
12
COMMON_INCLUDE := SDL_at.h
Jul 12, 2009
Jul 12, 2009
13
TESTS_ALL := rwops/rwops surface/surface render/render
14
15
Jun 19, 2009
Jun 19, 2009
16
.PHONY: all clean test
Jun 19, 2009
Jun 19, 2009
18
19
20
all: $(TESTS_ALL)
Jun 20, 2009
Jun 20, 2009
21
test: all
Jun 20, 2009
Jun 20, 2009
22
@./rwops/rwops
Jul 1, 2009
Jul 1, 2009
23
@./surface/surface
Jul 12, 2009
Jul 12, 2009
24
@./render/render
Jun 20, 2009
Jun 20, 2009
26
27
rwops/rwops: rwops/rwops.c $(COMMON_INCLUDE)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ rwops/rwops.c $(COMMON_SRC)
Jun 19, 2009
Jun 19, 2009
28
Jul 1, 2009
Jul 1, 2009
29
30
31
surface/surface: surface/surface.c $(COMMON_INCLUDE)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ surface/surface.c $(COMMON_SRC)
Jul 12, 2009
Jul 12, 2009
32
33
34
render/render: render/render.c $(COMMON_INCLUDE)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ render/render.c $(COMMON_SRC)
Jun 19, 2009
Jun 19, 2009
35
36
clean:
$(RM) $(TESTS_ALL)