Mercurial > hg > nnchat
comparison Makefile @ 533:52c56ada3816
Fix Win32/MinGW cross-compilation target to work with Debian's gcc-mingw-w64
package, thus upgrading to a new version of MinGW and GCC. Yay.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 07 Jun 2012 03:16:39 +0300 |
parents | 3e64acb433e8 |
children | 904c359b1ced |
comparison
equal
deleted
inserted
replaced
532:cfab338d3c9e | 533:52c56ada3816 |
---|---|
3 # See other Makefile.* files for more options. | 3 # See other Makefile.* files for more options. |
4 # | 4 # |
5 | 5 |
6 # C-compiler, flags and linker flags | 6 # C-compiler, flags and linker flags |
7 CC=gcc | 7 CC=gcc |
8 AR=ar | |
9 RANLIB=ranlib | |
10 | |
8 CFLAGS=-DHAVE_STRING_H -DHAVE_STDINT_H | 11 CFLAGS=-DHAVE_STRING_H -DHAVE_STDINT_H |
9 LDFLAGS=-lncurses | 12 LDFLAGS=-lncurses |
10 | 13 |
11 #CFLAGS += -DHAVE_STDINT_H | 14 #CFLAGS += -DHAVE_STDINT_H |
12 #CFLAGS += -DHAVE_SYS_TYPES_H | 15 #CFLAGS += -DHAVE_SYS_TYPES_H |