projects
/
gph-gfx
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed build on windows
[gph-gfx]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
cf2a010
..
91bf8b6
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-11,6
+11,7
@@
sys ?= $(shell uname -s | sed 's/MINGW.*/mingw/')
ifeq ($(sys), mingw)
src += test_win.c
CFLAGS += -DBUILD_WIN32
+ LDFLAGS += -lgdi32
else
src += test_x11.c
CFLAGS += -DBUILD_X11