annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 #
204
937db3c2465f Added Makefile for Solaris 9+ and removed references to it from main Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents: 93
diff changeset
2 # Configuration settings for Linux and generic UNIX
937db3c2465f Added Makefile for Solaris 9+ and removed references to it from main Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents: 93
diff changeset
3 # See other Makefile.* files for more options.
0
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4 #
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6 # C-compiler, flags and linker flags
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7 CC=gcc
533
52c56ada3816 Fix Win32/MinGW cross-compilation target to work with Debian's gcc-mingw-w64
Matti Hamalainen <ccr@tnsp.org>
parents: 412
diff changeset
8 AR=ar
52c56ada3816 Fix Win32/MinGW cross-compilation target to work with Debian's gcc-mingw-w64
Matti Hamalainen <ccr@tnsp.org>
parents: 412
diff changeset
9 RANLIB=ranlib
52c56ada3816 Fix Win32/MinGW cross-compilation target to work with Debian's gcc-mingw-w64
Matti Hamalainen <ccr@tnsp.org>
parents: 412
diff changeset
10
412
3e64acb433e8 Split libnnchat into libnnet and libnnutil
Matti Hamalainen <ccr@tnsp.org>
parents: 384
diff changeset
11 CFLAGS=-DHAVE_STRING_H -DHAVE_STDINT_H
384
40b95d677f68 Fix build.
Matti Hamalainen <ccr@tnsp.org>
parents: 204
diff changeset
12 LDFLAGS=-lncurses
0
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
13
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
14 #CFLAGS += -DHAVE_STDINT_H
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15 #CFLAGS += -DHAVE_SYS_TYPES_H
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
16
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
17 # Miscellaneous
87
9140c33296a8 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 68
diff changeset
18 BINPATH=
9140c33296a8 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 68
diff changeset
19 OBJPATH=
0
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
20 EXEEXT=
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
21
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
23 include Makefile.gen