8. make and Makefile | Assembly, C on Bare-metal RISC-V

preview_player
Показать описание


𝗜𝗻 𝘁𝗵𝗶𝘀 𝗩𝗶𝗱𝗲𝗼:
We explore the make utility and how the Makefile is to be written. This is the introduction to make and covers the parts of make/Makefile we will need as part of this video series.

𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:22 Recap and intention
01:00 What is make?
01:35 Introduction to Makefile
02:34 Can Makefile be named something else?
02:45 How does make work?
02:56 How to write a Makefile?
03:39 dependency list
04:02 recipe or command list
04:10 Importance of Tab and specifying commands
05:10 make and the default target
05:28 Identifying parts in the Makefile in test/
07:00 meaning of ".PHONY"
07:29 Variables in Makefile - assigning and reading them
09:39 Specifying the default value of a Variable
10:37 Formatting and use of spaces
10:47 First target in the file - "all"
11:00 demo - "make clean"
11:35 demo - naming files using the ".mk" extension
12:36 make - error and using the -f option/flag
13:40 Specifying a target

Want to try it yourself? Use the following resources/guide -
𝗟𝗮𝗯 𝗦𝗲𝘁𝘂𝗽 -
𝗗𝗼𝗰𝗸𝗲𝗿 𝗦𝗲𝘁𝘂𝗽:

𝙈𝙚𝙢𝙚𝙗𝙚𝙧𝙨:

#inpyjama #cninja #embeddedsystems #embedded #clanguage #arm #riscv
Рекомендации по теме
Комментарии
Автор

This series is too good for beginners.Keep them coming.Great work 🙌🙌.

r_rajesh
Автор

Great video series. your voice😆& explaination ->superb🤑;

rakesh__rocky
Автор

Is make more popular than cmake in embedded projects? Is it worth learning cmake?

donythomas
Автор

Sir make a playlist on Embedded C language, for fresher

ithapetushar
visit shbcf.ru