• Ben Avison's avatar
    Fixes to shared makefiles · 70323f40
    Ben Avison authored
    Detail:
      The change which permitted top-level makefiles to include only CApp,
      CModule etc accidentally broke makefiles which included HostTools (StdTools
      got included instead and overwrote the HostTools settings). Amazingly, we
      seem to have got away with this so far - but fixed now. Also, brought the
      GNUmakefiles versions in line with updates to the amu Makefiles in this
      and other respects.
    Admin:
      Tested in a RISC OS ROM build, and for building cross-compiling versions
      of the tools.
    
    Version 5.21. Tagged as 'BuildSys-5_21'
    70323f40
HostTools 728 Bytes
# Makefile fragment for C applications that run on the build host but which
# are built during the main build

INCLUDED_HOSTTOOLS = YES

#
# These are the tool definitions for the GNU toolchain in a POSIX environment, targetting the build host.
#

#
# Tool definitions.
#
CC              = gcc
DO              = 
ECHO            = echo
LD              = g++
MAKE            = make
MKDIR           = mkdir -p
SED             = sed
SQZ             = @echo > /dev/null
STRIP           = strip
TOUCH           = touch

#
# Options.
#
STDTOOLOPTIONS = ${THROWBACK}

C_WARNINGS  := -Wall -Wextra
C_OPTSIZE   := -Os
C_OPTSPEED  := -O3
CFLAGS      += -c ${STDTOOLOPTIONS} ${CDEFINES} ${CINCLUDES} ${C_WARNINGS} -I. -O2 -std=c99


# EOF