Mercurial > hg > nnchat
diff Makefile.w32 @ 119:4bc63a535acb
Fix some PDCurses incompatibilities and remove some Win32/PDCurses specific hacks.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 28 Oct 2010 23:22:31 +0300 |
parents | 8af4072dc31a |
children | a06d27141c26 |
line wrap: on
line diff
--- a/Makefile.w32 Mon Oct 25 01:35:12 2010 +0300 +++ b/Makefile.w32 Thu Oct 28 23:22:31 2010 +0300 @@ -6,7 +6,13 @@ # C-compiler, flags and linker flags CC=gcc CFLAGS=-DHAVE_STRING_H -Ipdcurses -LDFLAGS=-L/usr/local/i386-mingw32/lib/ -lmingw32 pdcurses/libpdcurses.a -liberty -lws2_32 -s +LDFLAGS=-L/usr/local/i386-mingw32/lib/ -lmingw32 -liberty -lws2_32 -s + +ifeq ($(SDL),y) +LDFLAGS+=pdcurses/libpdcurses-sdl.a -lSDL +else +LDFLAGS+=pdcurses/libpdcurses.a +endif # Miscellaneous EXEEXT=.exe