annotate Makefile @ 68:3ab7751fdad1

MingW compatibility, with one ugly kludge.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 14 Nov 2008 07:15:57 +0200
parents 07095e801713
children 9140c33296a8
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 #
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 # Configuration settings for typical UNIX
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 #
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5 # Installation prefix
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6 PREFIX=/usr/local
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7 BINPATH=./
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
9 # C-compiler, flags and linker flags
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10 CC=gcc
3
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
11 CFLAGS=-DTH_NO_DEFAULTS -DHAVE_STRING_H -DHAVE_INT_TYPES
68
3ab7751fdad1 MingW compatibility, with one ugly kludge.
Matti Hamalainen <ccr@tnsp.org>
parents: 3
diff changeset
12 LDFLAGS=-lcurses
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 # For Solaris 9 with GCC, you need:
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
18 #CFLAGS += -DHAVE_UINT_T
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19 #LDFLAGS += -lresolv
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
20
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
21
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22 # Miscellaneous
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
23 RM=rm
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
24 EXEEXT=
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
25
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
26
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
27 include Makefile.gen