blob: 00b78ce5793a76c7d7c626636767c78d3f42d123 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
CFLAGS = -Wall -g `pkg-config --cflags pixman-1`
LDFLAGS = `pkg-config --libs pixman-1`
COMMON = $(COMMON_SOURCES) $(COMMON_HEADERS)
COMMON_SOURCES = \
simplex86.c \
code-manager.c \
simple-reg.c \
array.c \
stack-man.c \
crc32.c
COMMON_HEADERS = \
simplex86.h \
code-manager.h \
simple-reg.h \
array.h \
crc32.h \
stack-man.c
all: genrender blitter testsuite iterjit
genrender: $(COMMON) main.c
$(CC) $(CFLAGS) -o genrender $(COMMON_SOURCES) main.c $(LDFLAGS)
blitter: $(COMMON) blitter.c
$(CC) $(CFLAGS) -o blitter $(COMMON_SOURCES) blitter.c $(LDFLAGS)
testsuite: $(COMMON) testsuite.c
$(CC) $(CFLAGS) -o testsuite $(COMMON_SOURCES) testsuite.c $(LDFLAGS)
iterjit: $(COMMON) iterjit.c
$(CC) $(CFLAGS) -o iterjit $(COMMON_SOURCES) iterjit.c $(LDFLAGS)
clean:
rm -f genrender blitter testsuite iterjit
|