annotate Makefile.djgpp @ 409:5a27c0fbbf20 default tip

Added tag rel-1_0_1 for changeset f18129e65b6f
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 20 Dec 2023 08:08:38 +0200
parents 964ae4f29138
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
305
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 #
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 # For cross-compilation of DJGPP/DOS version under Linux
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 #
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5 # Compiler, flags and linker flags
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6 BINTOOL_PREFIX=i586-pc-msdosdjgpp-
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8 CFLAGS += -DTH_BYTEORDER=TH_LITTLE_ENDIAN
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
9 LDFLAGS += -s
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11 CFLAGS += -DHAVE_STRING_H
395
47f336bb06c4 -DHAVE_STDBOOL_H
Matti Hamalainen <ccr@tnsp.org>
parents: 348
diff changeset
12 CFLAGS += -DHAVE_STDBOOL_H
305
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
13 CFLAGS += -DHAVE_INTTYPES_H
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
14
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15 # Miscellaneous
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
16 BINEXT=.exe
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
17 OBJPATH=obj/dos/
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
18 BINPATH=./
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
20
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
21 ###
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22 ### Stuff
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
23 ###
405
964ae4f29138 Rename Makefile.gen to Makefile.common
Matti Hamalainen <ccr@tnsp.org>
parents: 395
diff changeset
24 include Makefile.common
305
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
25