[an error occurred while processing this directive]
|
Вот так я делал когда у меня не было ни каких оболочек для программирования:
@echo off
REM #--------------------------------------------------------------------------
REM # File: BUILD.BAT
REM # Contents: Batch file to build ezbulk.
REM #
REM # Copyright (c) 1997 AnchorChips, Inc. All rights reservedREM ### Assemble descriptor table ###
a51 cypress.a51 errorprint debugREM ### Link object code (includes debug info) ###
bl51 cypress.obj TO cypress RAMSIZE(256) CODE(100h) XDATA(800h)REM ### Generate intel hex image of binary (no debug info) ###
IF EXIST cypress.obj oh51 cypress HEXFILE(cypress.hex)REM ### Generate image of binary ###
IF EXIST cypress.obj HEXTOBIN.EXE %1
REM IF EXIST cypress.obj HEXTOBIN.EXE cypress.hex
REM ### LST file Execute ###
cypress.lstif "%1" == "-clean" del *.lst
if "%1" == "-clean" del *.obj
if "%1" == "-clean" del *.m51
E-mail: info@telesys.ru