Subversion Repositories DevTools

Rev

Rev 5709 | Blame | Last modification | View Log | RSS feed

###############################################################################
# Copyright (c) VIX TECHNOLOGY (AUST) LTD
#
# File:         TOOLSET/ACEX.def
# Contents:     ACEX rules as used for the Fairchild ACE compiler
#               Make definitions for the ACE tools.
#
# Description:
#       This file provides Toolset definitions for the target makefiles
#       The file is dropped into the top of the generated platform specfic makefile
#
###############################################################################

toolset = ACEX

s       = asm
exe     = hex

.SUFFIXES:  .asm

#
#   Ensure that the compiler can be found
#   Use the environment varibales
#       ACEX - Root of the ACE Install
#
ifndef GBE_ACEX
    GBE_ACEX := C:/Program Files/AceTools
    export GBE_ACEX
endif

.PHONY:     acex
acex:
        @if [ -z "$$GBE_ACEX" ]; then echo GBE_ACEX env var not set; exit 2; fi; \
        if [ ! -d "$$GBE_ACEX" ]; then echo "ERROR: GBE_ACEX directory not found ($$GBE_ACEX). Compiler not available"; exit 2; fi; \
        echo "[Toolset Fairchild ACE]";

acex = $(subst \,/,$(strip $(GBE_ACEX)))

#
#   Define the compiler specfic names and paths for the various tools
#
acex_assembler = $(acex)/fasm.exe