mk.bat

来自「无线遥控调光器」· Batch 代码 · 共 63 行

BAT
63
字号
@echo off
rem *******************************  mk.bat  *******************************
rem            ####### 
rem            ##  ## 
rem            #  ##    ####   #####    #####  ##  ##   ##### 
rem              ##    ##  ##  ##  ##  ##      ##  ##  ##     
rem             ##  #  ######  ##  ##   ####   ##  ##   ####  
rem            ##  ##  ##      ##  ##      ##   #####      ## 
rem           #######   ####   ##  ##  #####       ##  #####  
rem                                            #####
rem           Z-Wave, the wireless language.
rem                                            
rem               Copyright (c) 2001
rem               Zensys A/S
rem               Denmark
rem 
rem               All Rights Reserved
rem 
rem     This source file is subject to the terms and conditions of the
rem     Zensys Software License Agreement which restricts the manner
rem     in which it may be used.
rem
rem ---------------------------------------------------------------------------
rem
rem  Description: Make bat file for building LED dimmer
rem
rem  Author:   Peter Shorty
rem 
rem  Last Changed By:  $Author: psh $
rem  Revision:         $Revision: 1.6 $
rem  Last Changed:     $Date: 2007/02/09 13:25:01 $
rem 
rem ****************************************************************************

if "%KEILPATH%"==""  goto usage_keil
if "%TOOLSDIR%"=="" goto usage_tools

if not exist %KEILPATH%\bin\c51.exe goto usage_keil
if not exist %KEILPATH%\bin\cx51.exe goto no_ext

set oldpath=%path%
set path=%KEILPATH%\bin;%TOOLSDIR%\Python;%path%

%TOOLSDIR%\Make\make %1 %2 %3

set path=%oldpath%
set oldpath=
goto exit

:usage_keil
@echo Set KEILPATH to point to the location of the Keil Compiler
@echo e.g c:\keil\c51
goto exit

:usage_tools
@echo Set TOOLSDIR to point to the location of the Z-Wave tools
@echo e.g c:\projects\zensys\devkit\tools
goto exit

:no_ext
@echo This developers kit requires the Keil PK51 Professional Developer's Kit

:exit

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?