Rev 241 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
# -*- mode: perl -*-################################################################################ File: TOOLSET/gnu_mpt.def# Contents: GNU MPT defines###############################################################################toolset = gnu_mpts = asmo = oa = aexe =.SUFFIXES: .asm## Ensure that the compiler can be found# Use the environment varibales# THYRONTOOLS - Root of the MPT SDK Install#ifndef THYRONTOOLSTHYRONTOOLS := C:/MPT_SDKexport THYRONTOOLSendif.PHONY: gnu_mptgnu_mpt:@$(echo) [Toolset GNU/MPT]; \if [ -z "$$THYRONTOOLS" ]; then echo THYRONTOOLS env var not set; exit 2; fi ; \if [ ! -d "$$THYRONTOOLS" ]; then echo "ERROR: THYRONTOOLS directory not found ($$THYRONTOOLS). Compiler not available"; exit 2; fi;thyron := $(subst \,/,$(strip $(THYRONTOOLS)))MPTLIB := $(thyron)/thyron/paycell2gnubin := $(thyron)/cygnus/bin/armifeq "$(findstring $(PATH),$(THYRONTOOLS))" ""PATH := $(thyron)/thyron/tools;$(gnubin);$(PATH)endifGNUBIN := $(subst /,\,$(strip $(gnubin)))TMPDIR := C:\TEMPexport GNU TMPDIR#