cc.bat

来自「uC/GUI简介uC/GUI是Micrium公司开发的通用的嵌入式用户图形界面软」· Batch 代码 · 共 26 行

BAT
26
字号
@ECHO OFF
goto Start

******************************************************************************
*
* File      : CC.bat
* Parameters: %1 Name of file to compile (without extension; .c is added)
* Purpose   : Compile one file and add it to the list of files to put in
*             Library
*
* This file as is uses the Microsoft Compiler MSVC 6.0 for x86 targets.
* This file needs to be modified if a library for a target compiler is
* desired.
*
* If you would like to do this, please get in touch with us; we may have a
* version for your target compiler.
*
******************************************************************************

:START
ECHO CC.bat:     Compiling %1.c
C51 .\Temp\Source\%1.c LARGE OPTIMIZE (4,SIZE) INCDIR (Config\;GUI\Core\;GUI\WM\) DEBUG OBJECTEXTEND PRINT(.\Temp\Output\%1.lst) OBJECT(.\Temp\Output\%1.obj)
IF ERRORLEVEL 1 PAUSE
IF NOT EXIST Temp\Lib1.bat ECHO LIB51 CREATE Lib\GUI.LIB>>Temp\Lib1.bat
ECHO LIB51 ADD Temp\Output\%1.OBJ TO Lib\GUI.LIB>>Temp\Lib1.bat

⌨️ 快捷键说明

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