mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 05:35:41 +00:00
34 lines
653 B
Makefile
34 lines
653 B
Makefile
MODULE = winetest.exe
|
|
APPMODE = -mconsole
|
|
IMPORTS = uuid comctl32 version user32 gdi32 advapi32 wsock32
|
|
DELAYIMPORTS = ole32
|
|
|
|
C_SRCS = \
|
|
gui.c \
|
|
main.c \
|
|
send.c \
|
|
util.c
|
|
|
|
RC_SRCS = \
|
|
winetest.rc
|
|
|
|
SVG_SRCS = winetest.svg
|
|
|
|
EXTRA_OBJS = build.res $(ALL_TEST_RESOURCES)
|
|
|
|
EXTRA_TARGETS = build.rc build.nfo
|
|
|
|
INSTALL_LIB = none
|
|
|
|
build.rc: dummy
|
|
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)
|
|
|
|
build.nfo:
|
|
-$(CC) -v 2>$@
|
|
|
|
build.res: build.rc build.nfo
|
|
$(WRC) -o $@ build.rc
|
|
|
|
dummy:
|
|
.PHONY: dummy
|