Chapter 6 Using Configurator
- 127 -
6.2.4 makefile generate Function
The configurator follows the procedure below to generate makefile.
1. Examine the source file's dependency relationship.
Assuming that the files bearing extensions .c and .a30 in the current directory respectively to be the C
language and the assembly language files, the configurator examines the dependency relationship of
the files to be included by those.
Consequently, observe the following precautions when creating a source file:
♦ The source file must be placed in the current directory.
♦ Use the extension '.c' for the C language source file and '.a30' for the assembly language source
file.
2. Write the file dependency relationship to makefile
Using "makefile" or "Makefile" in the current directory or "makefile.dos" in the directory indicated by the
environment variable "LIB308" as a template file, the configurator creates "makefile" in the current di-
rectory.