# 
# cross compiling
#
ifneq (yes,$(M68K_ATARI_MINT_CROSS))
CROSS = no
#CROSS = yes
else
CROSS = yes
endif

#
# target and host compiler
# 
ifeq ($(CROSS),yes)

CROSSPREFIX=m68k-atari-mint-

LANG=C
NATIVECC = gcc
NATIVECFLAGS = -O -Wall
CRLF = echo crlf -s

# e.g. when you don't have the mintlib/gemlib/cflib in
#      the /usr/m68k-atari/mint
GENERAL = $(M68K_ATARI_MINT_CFLAGS) $(M68K_ATARI_MINT_LDFLAGS)

else

CROSSPREFIX=

NATIVECC = gcc
NATIVECFLAGS = -O -Wall
CRLF  = crlf -s

endif

CC = $(CROSSPREFIX)gcc
AS = $(CC)
AR = $(CROSSPREFIX)ar
RANLIB = $(CROSSPREFIX)ranlib
STRIP = $(CROSSPREFIX)strip
FLAGS = $(CROSSPREFIX)flags
OBJDUMP = $(CROSSPREFIX)objdump

# 
# some tools
# 
YACC  = bison -dk
LEX   = flex
MV    = mv
CP    = cp
RM    = rm -f
TOUCH = touch
MKDIR = mkdir
SED   = sed


#
# optimizations
# 
OPTS = -O2 -fomit-frame-pointer


#
# warning options
#
WARN = \
	-Wall \
	-Wmissing-prototypes \
	-Winline \
	-Wshadow \
	-Wpointer-arith \
	-Wcast-qual \
	-Waggregate-return

#
# default definitions
#
DEFINITIONS = 


#
# model type
#
MODEL = 
