Mercurial > hg > sidinfo
annotate Makefile.djgpp @ 334:1e7ffcaeb8ad
Check SIDUtilChConvCtx::enabled instead of SIDUtilChConvCtx::iconvCtx != -1 when calling iconv_close().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 13 Jan 2020 13:38:06 +0200 |
parents | 0d0ccaa46985 |
children | 9bf282a79ac4 |
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 export PATH := /opt/bin:$(PATH) |
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 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
|
9 |
0d0ccaa46985
Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
10 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
|
11 LDFLAGS += -s |
0d0ccaa46985
Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
12 |
0d0ccaa46985
Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
13 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
|
14 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
|
15 |
0d0ccaa46985
Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
16 # Miscellaneous |
0d0ccaa46985
Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
17 BINEXT=.exe |
0d0ccaa46985
Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
18 OBJPATH=obj/dos/ |
0d0ccaa46985
Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
19 BINPATH=./ |
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 ### |
0d0ccaa46985
Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
23 ### Stuff |
0d0ccaa46985
Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
24 ### |
0d0ccaa46985
Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
25 include Makefile.gen |
0d0ccaa46985
Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
26 |