Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
101 lines (81 sloc) 1.21 KB
#
#
# cross compiling
#CROSS = yes
#CROSS = no
#
# build alternate libraries for processor variants
#
WITH_020_LIB = yes
WITH_V4E_LIB = yes
#
# target and host compiler
#
# Define this to "m68k-atari-mint" if you cross compile.
ifneq ($(CROSS_TOOL),)
CROSSPREFIX=$(CROSS_TOOL)-
CROSS := yes
else
ifeq ($(CROSS),yes)
CROSS_TOOL=m68k-atari-mint
CROSSPREFIX=$(CROSS_TOOL)-
else
CROSSPREFIX=
endif
endif
ifeq ($(CROSS),yes)
NATIVECC = gcc
NATIVECFLAGS = -O
CRLF = echo crlf -s
PREFIX=$(shell $(CROSSPREFIX)gcc -print-sysroot)/usr
ifeq ($(PREFIX),/usr)
PREFIX=/usr/$(CROSS_TOOL)
endif
else
CROSSPREFIX=
NATIVECC = gcc
NATIVECFLAGS = -O
CRLF = crlf -s
PREFIX=/usr
endif
CC = $(CROSSPREFIX)gcc
AS = $(CC)
AR = $(CROSSPREFIX)ar
RANLIB = $(CROSSPREFIX)ranlib
STRIP = $(CROSSPREFIX)strip
FLAGS = $(CROSSPREFIX)flags
#
# some tools
#
YACC = bison -dk
LEX = flex
MV = mv
CP = cp
RM = rm -f
TOUCH = touch
MKDIR = mkdir
SED = sed
TAR = tar
#
# 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 =
You can’t perform that action at this time.