makefile basics (beginner - intermediate) anthony explains #357

preview_player
Показать описание
today I go over the basics of makefiles, how to use them as a build system, and what `.PHONY` is.

==========

I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!
Рекомендации по теме
Комментарии
Автор

...that explanation of PHONY was better than the docs and stackoverflow explanations combined

Thanks for the talk!

uuu
Автор

Thank you Anthony! This video really helped me with understanding makefiles much better.
It's a great addition for anyone just getting into Makefiles, a good addition in video format to the myriad of tutorials out there. A big thank you!

raoulkent
Автор

One of the best Makefile tutorials out there, thank you very much Anthony!

Karlux
Автор

very short but precise & among most helpful Makefile tutorials. Thanks

unikkkkkkk
Автор

Amazing breakdown of the Makefile! Thanks Anthony!

serge
Автор

Thanks Anthony. You make it so easy to follow.

trido
Автор

To be honest, I didn't have the chance till now to learn C programming, and this video sent me to learn what are .h and .o files. So I learnt so much more then just about the 'make' command :) thank you! Hope to join you and the rest of the cool guys in the C programming very soon.

dorb
Автор

Thanks a lot!! That really helps to understand PHONY

yugandhar
Автор

Thanks for this concise tutorial. I just wanted a simple Makefile whilst I played with C++. You made all the black magic understandable. =)

jiminma
Автор

This is a great tutorial l, especially using advanced symbols in make.

AbishaiSingh
Автор

I'd love to see a makefile that is designed for django/docker projects.

morenoh
Автор

Why didn't you mention the wildcard function for automatic detection of source files?

thesun___
Автор

Neat trick to use tail instead of cat to get the file names too - why do you use tail instead of head?

guntbert
Автор

I've seen Makefile being used in Python projects where basically all the targets are phony. I've come to prefer having a scripts directory, and using bash (or python) for tasks that may be repeated (docker build, run dev db, purge dev db etc.). It offers a bit more flexibility on handling inputs.

kristofferbakkejord
Автор

These are also great for reproducible data science, great tutorial!

KraziAzian
Автор

Hi, I wrote a comment and it was deleted. Just wonder if youtube algorithm did that, or you decide to remove it?

voytechj
Автор

Great video.

Shouldn't main.o also rely on lib.h?

fabtjar