aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2014-04-01 21:11:18 +0200
committerWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2014-04-01 21:11:18 +0200
commit2ff87bd38f38eca0732c65666dee825b6795029a (patch)
tree1a5e6ba87ace86c804edf8e080b6c50cc7a13669 /test/Makefile
parentaf16fcac2fadb78a137934171d021b4242563d7e (diff)
downloadwglarb-2ff87bd38f38eca0732c65666dee825b6795029a.tar.gz
wglarb-2ff87bd38f38eca0732c65666dee825b6795029a.tar.bz2
GetClientRect instead of WM_SIZE
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 78ae707..de20a97 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -2,5 +2,11 @@ CC=i686-w64-mingw32-gcc
CFLAGS=-static-libgcc -static-libstdc++ -I..
LIBS=-lopengl32 -lgdi32 -lkernel32
-layered.exe: layered.c
- $(CC) $(CFLAGS) -o layered.exe layered.c ../wglarb.c $(LIBS)
+WINDRES=i686-w64-mingw32-windres
+
+layered.exe: layered.c layered.rc.o
+ $(CC) $(CFLAGS) -o layered.exe layered.c layered.rc.o ../wglarb.c $(LIBS) -Wl,--subsystem,windows
+
+
+layered.rc.o: layered.rc
+ $(WINDRES) --input layered.rc --output layered.rc.o