Mercurial > hg > nnchat
comparison 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 |
comparison
equal
deleted
inserted
replaced
118:9e7f52878725 | 119:4bc63a535acb |
---|---|
4 PATH=/usr/local/i386-mingw32/bin:/usr/bin:/bin | 4 PATH=/usr/local/i386-mingw32/bin:/usr/bin:/bin |
5 | 5 |
6 # C-compiler, flags and linker flags | 6 # C-compiler, flags and linker flags |
7 CC=gcc | 7 CC=gcc |
8 CFLAGS=-DHAVE_STRING_H -Ipdcurses | 8 CFLAGS=-DHAVE_STRING_H -Ipdcurses |
9 LDFLAGS=-L/usr/local/i386-mingw32/lib/ -lmingw32 pdcurses/libpdcurses.a -liberty -lws2_32 -s | 9 LDFLAGS=-L/usr/local/i386-mingw32/lib/ -lmingw32 -liberty -lws2_32 -s |
10 | |
11 ifeq ($(SDL),y) | |
12 LDFLAGS+=pdcurses/libpdcurses-sdl.a -lSDL | |
13 else | |
14 LDFLAGS+=pdcurses/libpdcurses.a | |
15 endif | |
10 | 16 |
11 # Miscellaneous | 17 # Miscellaneous |
12 EXEEXT=.exe | 18 EXEEXT=.exe |
13 OBJPATH=./win32/ | 19 OBJPATH=./win32/ |
14 #BINPATH=./win32/ | 20 #BINPATH=./win32/ |