comparison Makefile.djgpp @ 305:0d0ccaa46985 rel-0_9_1

Add Makefile for cross-compilation to DOS/DJGPP on a *NIX host.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 09 Jan 2020 23:26:37 +0200
parents
children 9bf282a79ac4
comparison
equal deleted inserted replaced
304:9a5f87c664e6 305:0d0ccaa46985
1 #
2 # For cross-compilation of DJGPP/DOS version under Linux
3 #
4
5 # Compiler, flags and linker flags
6 export PATH := /opt/bin:$(PATH)
7
8 BINTOOL_PREFIX=i586-pc-msdosdjgpp-
9
10 CFLAGS += -DTH_BYTEORDER=TH_LITTLE_ENDIAN
11 LDFLAGS += -s
12
13 CFLAGS += -DHAVE_STRING_H
14 CFLAGS += -DHAVE_INTTYPES_H
15
16 # Miscellaneous
17 BINEXT=.exe
18 OBJPATH=obj/dos/
19 BINPATH=./
20
21
22 ###
23 ### Stuff
24 ###
25 include Makefile.gen
26