From 7291b6d7d6ae12d691df81b90e06231db8f14f32 Mon Sep 17 00:00:00 2001 From: valenok Date: Sun, 12 Sep 2010 22:10:03 +0100 Subject: [PATCH] added res.rc to win32 compilation --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a37acdef..32ae0025 100644 --- a/Makefile +++ b/Makefile @@ -58,7 +58,7 @@ DBG= /DNDEBUG /O1 CL= cl /MD /TC /nologo $(DBG) /Gz /W3 /DNO_SSL_DL GUILIB= user32.lib shell32.lib LINK= /link /incremental:no /libpath:$(VC)\lib /subsystem:windows \ - ws2_32.lib advapi32.lib cyassl.lib + ws2_32.lib advapi32.lib cyassl.lib CYAFL= /c /I $(CYA)\ctaocrypt\include /I $(CYA)\include /D_LIB @@ -92,8 +92,10 @@ cyassl: lib *.obj /out:cyassl.lib windows: + rc win32\res.rc + $(CL) main.c mongoose.c /GA $(LINK) win32\res.res \ + $(GUILIB) /out:$(PROG).exe $(CL) mongoose.c /GD $(LINK) /DLL /DEF:win32\dll.def /out:_$(PROG).dll - $(CL) main.c mongoose.c /GA $(LINK) $(GUILIB) /out:$(PROG).exe # Build for Windows under MinGW #MINGWDBG= -DDEBUG -O0