Clean; Invocation By Sh.exe - Epson S5U1C17001C Manual

Cmos 16-bit single chip microcomputer, c compiler package for s1c17 family
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

11.1.8 clean

The make file created by IDE contains a description of a command to delete intermediate and object files other
than the sources. This command can be executed by specifying the target name clean when the make is invoked (in
IDE, select [Clean] from the [Project] menu.).
The following shows the command included in a make file:
Example:
TARGET= sample
:
TOOL_DIR = c:/EPSON/gnu17
:
RM= $(TOOL_DIR)/rm
:
OBJS= boot.o \
main.o \
:
DEPS = $(OBJS:%.o=%.d)
clean:
$(RM) -f $(OBJS) $(TARGET).elf $(TARGET).map $(DEPS)
"clean" uses the file remove utility (rm.exe) to delete the ".o" files, ".elf" file and ".map" file generated by a
make process using this make file.

11.1.9 invocation by sh.exe

If the command line in a makefile contains a shell metacharacter such as a semicolon (;), a switching symbol (<, >,
>>, |), a replacement symbol (*, ?, [], $, =), a quote mark, an escape character, or a comment ("", ', `, \, #, etc., :),
the make will launch the Bourne shell and process the command.
If there is no need for syntax analysis of the command line by a shell, the make executes the command directly. In
this case, the Bourne shell used is sh.exe at the location where make.exe is found.
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
EPSOn
11 OTHEr TOOlS
11
Tools
11-13

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5U1C17001C and is the answer not in the manual?

Table of Contents