annotate Makefile.djgpp @ 348:9bf282a79ac4

Remove PATH setting from DJGPP Makefile.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 16 Jan 2020 22:41:13 +0200
parents 0d0ccaa46985
children 47f336bb06c4
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
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
12 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
13
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
14 # Miscellaneous
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15 BINEXT=.exe
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
16 OBJPATH=obj/dos/
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
17 BINPATH=./
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
18
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 ### Stuff
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22 ###
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
23 include Makefile.gen
0d0ccaa46985 Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
24