view Makefile.djgpp @ 363:ab53c76f40d5

Add Makefile parameter ASAN to enable address sanitizer build (and disable -O and -flto when doing that.)
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 11 Sep 2020 01:59:35 +0300
parents 9bf282a79ac4
children 47f336bb06c4
line wrap: on
line source

#
# For cross-compilation of DJGPP/DOS version under Linux
#

# Compiler, flags and linker flags
BINTOOL_PREFIX=i586-pc-msdosdjgpp-

CFLAGS += -DTH_BYTEORDER=TH_LITTLE_ENDIAN
LDFLAGS += -s

CFLAGS += -DHAVE_STRING_H
CFLAGS += -DHAVE_INTTYPES_H

# Miscellaneous
BINEXT=.exe
OBJPATH=obj/dos/
BINPATH=./


###
### Stuff
###
include Makefile.gen