HostTools 1.34 KB
Newer Older
Ben Avison's avatar
Ben Avison committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# Copyright 2009 Castle Technology Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Makefile fragment for C applications that run on the build host but which
# are built during the main build
Ben Avison's avatar
Ben Avison committed
17 18 19

INCLUDED_HOSTTOOLS = YES

Ben Avison's avatar
Ben Avison committed
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
#
#
# These are the tool definitions for RISC OS hosted builds.
#
#

#
# Tool definitions.
#
CC              = %cc -apcs 3/32bit/fpe3 -cpu 3 -memaccess -L22-S22-L41
DO              = do
ECHO            = echo
LD              = link
MAKE            = amu
MKDIR           = ${DO} mkdir -p
SQZ             = squeeze
TOUCH           = create
37 38
RM              = remove
WIPE            = -wipe
Ben Avison's avatar
Ben Avison committed
39 40 41 42 43 44

#
# Options.
#
STDTOOLOPTIONS = -depend !Depend ${THROWBACK}

45 46 47 48 49 50
C_WARNINGS  := -fah
C_OPTSIZE   := -Ospace
C_OPTSPEED  := -Otime
C_NO_FNAMES := -ff
CFLAGS +=  -c ${STDTOOLOPTIONS} ${CDEFINES} ${CINCLUDES} ${C_NO_FNAMES} ${C_WARNINGS}
WFLAGS  = FR~C~V
Ben Avison's avatar
Ben Avison committed
51 52 53


# EOF