31 lines
537 B
Makefile
31 lines
537 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
|
|
|
|
EXTRA_TARGETS = build.nfo
|
|
|
|
INSTALL_LIB = none
|
|
|
|
build.rc: dummy
|
|
build="STRINGTABLE { 1 \"`GIT_DIR=$(top_srcdir)/.git git rev-parse HEAD 2>/dev/null`\" }" && (echo $$build | cmp -s - $@) || echo $$build >$@ || (rm -f $@ && exit 1)
|
|
|
|
build.nfo:
|
|
-$(CC) -v 2>$@
|
|
|
|
dummy:
|
|
.PHONY: dummy
|