Makefile.in 653 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
EXTRA_TARGETS = build.rc build.nfo
20

21 22
INSTALL_LIB = none

23
build.rc: dummy
24
	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)
25 26 27 28

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

29
build.res: build.rc build.nfo
30
	$(WRC) -o $@ build.rc
31 32 33

dummy:
.PHONY: dummy