summaryrefslogtreecommitdiff
path: root/perf/Makefile.win32
blob: ef993a783b01ded8d1308f36429fc2b34ff6449b (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
39
40
41
42
43
44
top_srcdir = ..
include $(top_srcdir)/build/Makefile.win32.common

LDFLAGS += ../src/$(CFG)/cairo-static.lib $(PIXMAN_LIBS) ../boilerplate/$(CFG)/boiler.lib $(EXE_LDFLAGS)

PERF_SOURCES = \
	box-outline.c \
	cairo-perf-win32.c \
	cairo-perf-cover.c \
	cairo-perf.c \
	cairo-stats.c \
	fill.c \
	long-dashed-lines.c \
	long-lines.c \
	mosaic.c \
	paint.c \
	paint-with-alpha.c \
	pattern_create_radial.c \
	rectangles.c \
	stroke.c \
	subimage_copy.c \
	tessellate.c \
	text.c \
	unaligned-clip.c \
	world-map.c \
	zrusin.c \
#	extend-pad.c \
	$(NULL)

OBJECTS = $(patsubst %.c, $(CFG)/%.obj, $(PERF_SOURCES))

all: inform $(CFG)/cairo-perf.exe

$(CFG)/cairo-perf.exe: $(OBJECTS)
	@mkdir -p $(CFG)
	@$(CC) $(CFLAGS) -Fe"$@" $^ -link $(LDFLAGS)

cairo-perf-diff-files:
	@mkdir -p $(CFG)
	@$(CC) $(CFLAGS) -Fe"$@" cairo-perf-diff-files.c cairo-perf-report.c cairo-stats.c -link $(LDFLAGS)

cairo-perf-graph-files:
	@mkdir -p $(CFG)
	@$(CC) $(CFLAGS) -Fe"$@" cairo-perf-graph-files.c cairo-perf-report.c cairo-stats.c -link $(LDFLAGS)