From 2ff87bd38f38eca0732c65666dee825b6795029a Mon Sep 17 00:00:00 2001 From: Wolfgang Draxinger Date: Tue, 1 Apr 2014 21:11:18 +0200 Subject: GetClientRect instead of WM_SIZE --- test/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'test/Makefile') 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 -- cgit v1.2.3