5 DERECHA

Introduction of Makefile 본문

Embedded

Introduction of Makefile

kay30 2023. 10. 17. 02:41

What is Make

  The make utility is a software tool for managing and maintaining computer programs consisting many component files. The make reads its instruction from Makefile (called the descriptor file) by default.

Definition of Makefile

  A Makefile is like a set of instructions written for a construction project, guiding builders on how to efficiently put together a complex structure. In the world of software development, a Makefile is the blueprint that helps developers automate the process of building their software. It's akin to a recipe that details the steps and ingredients needed to create a final dish.

Goal of Makefile

  The primary purpose of a Makefile is to streamline the software development process by specifying the relationships between source files, object files, and the resulting executables. It helps avoid recompilation of unchanged code, saving time and resources during the development and testing phases.

 

Makefile contains : 1) dependency rules, 2) macros and 3) suffix rules

1) Dependency Rules

 

2) Macros

 

3) Suffix Rules

 

 

 

'Embedded' 카테고리의 다른 글

임베디드 레시피  (0) 2023.08.01
Memory & CPU  (0) 2023.03.15
Hardware for Embedded System  (0) 2023.03.07