Makefile.in 596 Bytes
Newer Older
1
MODULE    = winetest.exe
2
APPMODE   = -mconsole
3
IMPORTS   = uuid comctl32 version user32 gdi32 advapi32 wsock32
4
DELAYIMPORTS = ole32
5 6

C_SRCS = \
7
	gui.c \
8 9 10 11
	main.c \
	send.c \
	util.c

12
RC_SRCS = \
13
	winetest.rc
14

Herve Chanal's avatar
Herve Chanal committed
15 16
SVG_SRCS = winetest.svg

17
EXTRA_OBJS = build.res @ALL_TEST_RESOURCES@
18

19
@MAKE_PROG_RULES@
20 21

clean::
22
	$(RM) build.rc build.nfo
23

24
build.rc: dummy
25
	build="BUILD_INFO STRINGRES build.nfo STRINGTABLE { 1 \"`GIT_DIR=$(top_srcdir)/.git git rev-parse HEAD 2>/dev/null`\" }" && (echo $$build | cmp -s - $@) || echo $$build >$@ || ($(RM) $@ && exit 1)
26 27 28 29 30

build.nfo:
	-$(CC) -v 2>$@

build.res: build.nfo