Make Files - 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.4 make files

The make file is a text file that contains a description of the dependence relationship of the files and the commands
to be executed.
Given below are examples of the make file generated by the IDE.
Example:
# Make file generated by Gnu17 Plug-in for Eclipse
# This file should be placed directly under the project folder
# macro definitions for target file
TARGET= sample
GOAL= $(TARGET).psa
# macro definitions for tools
TOOL_DIR= C:/EPSON/GNU17
CC= $(TOOL_DIR)/xgcc
AS= $(TOOL_DIR)/xgcc
AS_CC= $(TOOL_DIR)/as
LD= $(TOOL_DIR)/ld
RM= $(TOOL_DIR)/rm
SED= $(TOOL_DIR)/sed
CP= $(TOOL_DIR)/cp
CC_KFILT= $(TOOL_DIR)/xgcc_filt
OBJDUMP= $(TOOL_DIR)/objdump
OBJCOPY= $(TOOL_DIR)/objcopy
MOTO2FF= $(TOOL_DIR)/moto2ff
SCONV= $(TOOL_DIR)/sconv32
VECCHECKER= $(TOOL_DIR)/vecChecker
# macro definitions for tool flags
CFLAGS= -B$(TOOL_DIR)/ -gstabs -S
ASFLAGS= -B$(TOOL_DIR)/ -c -xassembler-with-cpp -Wa,--gstabs
ASFLAGS_CC=
LDFLAGS=
-Map sample.map -N -T sample_gnu17IDE.lds
EXTFLAGS= -Wa,-mc17_ext -Wa,$(TARGET).dump -Wa,$(TARGET).map
EXTFLAGS_CC= -mc17_ext $(TARGET).dump $(TARGET).map
OBJDUMPFLAGS= -t
OBJCOPYFLAGS= -I elf32-little -O srec --srec-forceS3
MOTOSTART= 8000
MOTOSIZE= 10000
SCONVFLAGS= S2
VECCHECKERFLAGS= -t symtable.out -r raw.out
VECCHECKER_ON= false
# macro for switching 2pass or 1pass build
PASS= 2pass
# search paths for source files
vpath %.c
vpath %.s
# macro definitions for object files
OBJS= boot.o \
lib.o \
main.o \
sys.o \
# macro definitions for library files
OBJLDS= $(TOOL_DIR)/lib/24bit/libstdio.a \
$(TOOL_DIR)/lib/24bit/libc.a \
$(TOOL_DIR)/lib/24bit/libgcc.a \
$(TOOL_DIR)/lib/24bit/libc.a \
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
-O1 -I$(TOOL_DIR)/include -fno-builtin -Wall
EPSOn
11 OTHEr TOOlS
11
Tools
11-3

Advertisement

Table of Contents
loading

Table of Contents