s5u1c33000c Epson Electronics America, Inc., s5u1c33000c Datasheet - Page 486

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
CHAPTER 17: OTHER TOOLS
Format 2
Command line
Macro definition
470
If no dependent file is written, <target name> is used only as a label. By specifying a <target name> with
the make's startup command, it is possible to execute the written command.
Example: Commands executed by make -f text.mak clean
If no <target name> is specified in the startup command, the first dependency list written in the file is used
to execute the make.
The cc33 tool names and DOS prompt commands can be written in a command line. However, the colon (:)
to indicate a drive cannot be written directly in the command line. When specifying a path in the command
line, prepare a macro definition of the path before using it.
The following two symbols can be inserted at the beginning of a command line:
@ Turns off the echo display of the command line in which this symbol is inserted.
-
A predefined macro can be referenced in the command line. Furthermore, the following two macro symbols
can be used.
$* This is replaced with the target file name (not including the extension) currently being processed.
$@ This is replaced with the target file name (including the extension) currently being processed.
These macro symbols cannot be used anywhere other than in a command line.
You can define a macro in a make file and reference a defined macro from a command line. The following
shows the formats in which a macro can be defined and referenced.
Definition: <macro name> = <macro body>
Reference: $(<macro name>)
Examples:
The colon (:) used to specify a drive can only be used in macro definition, except when you use it
immediately after a target name or in a comment. Therefore, when specifying a path in a command line or
dependent file, use a macro that is defined in advance, as shown by the above examples.
Macros cannot be referenced in the following places:
Lines preceding macro definition
Target file names
Lines where a suffix is defined or the first line of a suffix list
Example: @copy test.s test.sbk
Normally, the command line executed is output to stdout. Command lines that begin with @ are not
output.
Even if the command has resulted in an error (terminated for some reason other than exit(0)), the error
is ignored and the command that follows is executed.
Example: -make -f test mak -n
Normally, the make is terminated with a command in error.
Example: test.dis: test.srf
TOOL_DIR = C:\CC33
GCC33 = $(TOOL_DIR)\gcc33
GCC33_FLAG = -B$(TOOL_DIR)\ -S -g -O
$(GCC33) $(GCC33_FLAG) $(SRC_DIR)main.c ...Macro reference in a command line
boot.ms : $(SRC_DIR)boot.s
Example: 33xxxxx.sa: test.sa_80000_80fff
$(TOOL_DIR)\dis33 $*.dis
copy test.sa_80000_80fff $@
EPSON
...Macro definition
...Macro definition and
...Macro reference of a dependence file name
macro reference in macro definition
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
S5U1C33000C MANUAL

Related parts for s5u1c33000c