29 lines
610 B
Makefile
29 lines
610 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
|
|
|
|
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
|