Rev 227 | Blame | Compare with Previous | Last modification | View Log | RSS feed
# -*- mode: mak; -*-################################################################################ File: TOOLSET/KeilC51V41.def# Contents: KeilC51V41 defines###############################################################################toolset = KeilC51V41s = asmo = o51a = libexe =.SUFFIXES: .asm## Toolset global variables# KEILC51 - Root of the KeilC51V41 Toolkit (From Environment)# C51DIR - Root of the KeilC51V41 Toolkit (Make format)# C51BIN - Root of the C51 compiler#C51DIR := $(subst \,/,$(strip $(KEILC51)))C51BIN := $(C51DIR)/binkeil_includes := $(C51DIR)/inc## Ensure that the tools are available#.PHONY: KeilC51V41KeilC51V41:@$(echo) '[Toolset Keil C51v41::$(C51DIR)]'; \[ -z "$$KEILC51" ] && echo 'KEILC51 env var not set' && exit 2; \if [ ! -d "$(C51DIR)" ] ; then echo "KeilC51 Directory not found: $(C51DIR)"; exit 2; fi; \if [ ! -d "$(C51BIN)" ] ; then echo "Keil Compiler directory not found: $(C51BIN)"; exit 2; fi; \#