32 lines
561 B
Makefile
32 lines
561 B
Makefile
MODULE = winetest.exe
|
|
IMPORTS = uuid comctl32 version user32 gdi32 advapi32 wsock32 msvcrt
|
|
DELAYIMPORTS = ole32
|
|
|
|
EXTRADLLFLAGS = -mconsole -mno-cygwin
|
|
|
|
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
|