Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
259 dpurdie 1
###############################################################################
2
# Copyright (c) 1996-2008 ERG Transit Systems.
3
#
4
# File:         TOOLSET/ACEX.def
5
# Contents:     ACEX rules as used for the Fairchild ACE compiler
6
#               Make definitions for the ACE tools.
7
#
8
# Description:
9
#       This file provides Toolset definitions for the target makefiles
10
#       The file is dropped into the top of the generated platform specfic makefile
11
#
12
###############################################################################
13
 
14
toolset = ACEX
15
 
16
s       = asm
17
exe     = hex
18
 
19
.SUFFIXES:  .asm
20
 
21
#
22
#   Ensure that the compiler can be found
23
#   Use the environment varibales
24
#       ACEX - Root of the ACE Install
25
#
26
ifndef GBE_ACEX
27
    GBE_ACEX := C:/Program Files/AceTools
28
    export GBE_ACEX
29
endif
30
 
31
.PHONY:     acex
32
acex:
33
	@if [ -z "$$GBE_ACEX" ]; then echo GBE_ACEX env var not set; exit 2; fi; \
34
	if [ ! -d "$$GBE_ACEX" ]; then echo "ERROR: GBE_ACEX directory not found ($$GBE_ACEX). Compiler not available"; exit 2; fi; \
35
	echo "[Toolset Fairchild ACE]";
36
 
37
acex = $(subst \,/,$(strip $(GBE_ACEX)))
38
 
39
#
40
#   Define the compiler specfic names and paths for the various tools
41
#
42
acex_assembler = $(acex)/fasm.exe
43
 
44