Makefiles have always thrown me off. I always stress them because every "tutorial" online goes super in-depth on stuff I don't really need at this point. Starting with the reference down a few lines was awesome and everything clicked when you explained it. Thank you!
This is one of the best tutorials I have ever seen. Your explanation is concise, straight to the point and there was no unnecessary talking. If only more tutorial makers could be like you. Great job, thanks so much! Subscribed.
I logged in to my RUclips account just to leave a comment ... your tutorial is so good. I literally just learned so much I actually feel comfortable with the concept now. Thank you so much You presented it in a simplified format and addressed every angle (like what "-c" is included for), demonstrated the relations between the main file, the function file, the header file, and the Makefile itself, and were very visual with your cursor which helps a lot. I was doing this stuff for class but literally didn't understand what I was doing, was just sort of plugging and chugging the commands. I now understand. You're a very good teacher keep it up!
I haven't even completed the video and I'm already wowed by your presentation of the concept! Apt, concise and straight to the point!. Thank you so much Paul.
after spending hours trying to understand makefiles...i was ready to give up but decided to give it a last shot thru ur video..thank you sooo mucch for explaining each and every line of the code!! You made my day!
I have avoided using linux for coding for 3 years now because an old prof of mine explained makefiles horribly. You've helped me regain my ability to use linux again, thank you.
Thank you so much for this video. I'm taking a C++ class at my local community college and I'm using Linux and Vim for my development platform. I've just been winging it with the make files which was fine when we were doing single file programs, but now we're getting into programs with 20 or 30 files. Before watching this I had my makefiles setup to where they are recompiling everything every time I compiled. I was like there has to be a better way. This is it! Thank you for the awesome information!
it wasn't working for me until I realized that "Makefile" literally has to be named that EXACTLY, case-sensitive and all. Works, and simply explained thank you.
6 лет назад+1
you can use -f and name it difrently. But usally the default Makefile is called like that.
This is the very best makefile tutorial I have ever seen. I spent to days modifying a nightmare of mixed cpp and c files, many libraries and so on and every posible flag...and your tutorial helped me to better refresh and understand the basics. Thank you
1:17 Light mode terminalllll, my eyessssss Thank you for the video aswell, literally the only decent video explaining Makefiles i could find on the entirety of RUclips
I have read three tutorials and seen a few videos before I landed here. After all that i endured, I was still not understanding a makefile or its concepts. After watching your video, I was enlightened. It was well explained and the example was understandable with great details even a beginner could understand. Great Job! Subscribed.
Oh man! You saved me. I'm more into the programming side of computer science, but I'm taking a Linux commands class, as required for any comp science degree at my school. My professor spent an hour teaching this lesson, but due to a language barrier, I didn't get it, but your tutorial makes it so easy to understand. Thank you very much.
spun my wheels for a while trying to make heads or tails using the coursework notes and other sites... this video explained everything amazingly!! you're a legend! thanks!
This is an awesome tutorial! Few days ago my prof gave a handout about how to make a Makefile but it didn’t explain how it actually works. This tutorial was a great explanation. Thank you sir!!
Finally this is like the one video that makes a lot of sense for makefiles. But since I'm inexperienced gotta start somewhere! As time goes on I will understand other videos on makefiles. Thanks!!!!!
I've been spoiled by IDE's and now I'm stuck trying to work with a bare tool chain... more through choice and necessity as I need to get to grips with this stuff as I know it will make things easier when pulling source code and libraries from other places. Very useful information.
I was searching the explanation for make files for days....and I am so satisfied with this...great job...thank u so much..for making it so easy to understand
This dude singlehandedly explained how to make a fucking Makefile in less than what it would have taken me to finish taking a shit. You've earned a sub.
I wish more videos were like this, simple, only explaining the concept at hand. Other tutorials of more advanced programming often assume you have knowledge that leads to you being more confused
Thank you so much for this video. I tried reading documentation on Makefiles but didn't understand anything. Now that I've gone through this video, I understand! Excellent introduction. I can pretty easily extend the ideas presented here to more advanced Makefiles.
You really should make a small series on more advanced topics in Makefile. This short tutorial and introduction to Makefiles is very clear for those dealing with Makefiles for the first time.
Perfect introduction to Makefile. Exactly what a person needs if they have never used Makefile before, (and you resisted the temptation to throw too much at them.)
That was just what I needed! Always thought that makefiles were very complicated, but thanks to you now it's very simple to understand! Thank you vey much!!!
very precise. Thanks for taking the time to explain the concept. This is the first time I come across makefile and it makes perfect sense. I now fully understand how this thing works.
5 out of 5 STARS for this video #PaulProgramming. Your explanation is second to none. This is the second video I have watched of yours. I have LIKED and SUBSCRIBED to your channel this tutorial. Thanks for helping us all that need the help.
Great video! I'm developing on Windows and am using Clang. I ran into a weird issue and would like to help others who run into it as well: In my case, I used `clang` instead of `g++` (I'm compiling C files) but when I ran `make` my `clang` commands were mysteriously changed to `cc` which is Microsoft's C compiler. I was confused by this as what I had typed was not what was being compiled. The answer is to add CC= at the top of your file. For me, that looked like this: CC=clang output: ... Alternatively if you don't want to specify the compiler in your make file, you can run make like this: make CC=clang Of course, if you are using `g++` like the tutorial in this video, simply change `clang` to `g++`. I hope this helps others who are using GCC Make on Windows and are running into compiler hijacking.
why did my Uni have to make it seem so complicated??? I was struggling a lot with Makefiles and had no idea what the commands even mean so thanks a lot :)
Makefiles have always thrown me off. I always stress them because every "tutorial" online goes super in-depth on stuff I don't really need at this point. Starting with the reference down a few lines was awesome and everything clicked when you explained it. Thank you!
Wow!! 9 years later and this video still holds up and is very informative. I just created my first makefile!!
yeah
yeah
This is one of the best tutorials I have ever seen. Your explanation is concise, straight to the point and there was no unnecessary talking. If only more tutorial makers could be like you. Great job, thanks so much! Subscribed.
+Anny G Agreed
agreed 100% !
agreed
Totally agreed.
I agree
I logged in to my RUclips account just to leave a comment ... your tutorial is so good. I literally just learned so much I actually feel comfortable with the concept now. Thank you so much
You presented it in a simplified format and addressed every angle (like what "-c" is included for), demonstrated the relations between the main file, the function file, the header file, and the Makefile itself, and were very visual with your cursor which helps a lot.
I was doing this stuff for class but literally didn't understand what I was doing, was just sort of plugging and chugging the commands. I now understand. You're a very good teacher keep it up!
I haven't even completed the video and I'm already wowed by your presentation of the concept! Apt, concise and straight to the point!. Thank you so much Paul.
I've started my C++ journey yesterday and I'm trying to make sense of the basics. Your tutorial is really clear and concise, thank you!!!
after spending hours trying to understand makefiles...i was ready to give up but decided to give it a last shot thru ur video..thank you sooo mucch for explaining each and every line of the code!! You made my day!
9:13 "so I think that was a pretty good introduction to Makefiles"
I agree 👍👍👍
Me too
I disagree .. wasn't pretty good but extremely good.
This is probably one of the best tutorials on youtube or in general for make files just for the basics. this is great buddy
I have avoided using linux for coding for 3 years now because an old prof of mine explained makefiles horribly. You've helped me regain my ability to use linux again, thank you.
Thank you so much for this video. I'm taking a C++ class at my local community college and I'm using Linux and Vim for my development platform. I've just been winging it with the make files which was fine when we were doing single file programs, but now we're getting into programs with 20 or 30 files. Before watching this I had my makefiles setup to where they are recompiling everything every time I compiled. I was like there has to be a better way. This is it! Thank you for the awesome information!
it wasn't working for me until I realized that "Makefile" literally has to be named that EXACTLY, case-sensitive and all. Works, and simply explained thank you.
you can use -f and name it difrently. But usally the default Makefile is called like that.
Björn Bidar oh I didn’t know that
Thanks
Zal Look here for example: github.com/Thaodan/shpp/blob/master/Makefile
This is the very best makefile tutorial I have ever seen. I spent to days modifying a nightmare of mixed cpp and c files, many libraries and so on and every posible flag...and your tutorial helped me to better refresh and understand the basics. Thank you
OMG your tutorial helped me so much for my projects it's really clear I understood everything easily
people like you deserve a special place in heaven
1:17 Light mode terminalllll, my eyessssss
Thank you for the video aswell, literally the only decent video explaining Makefiles i could find on the entirety of RUclips
Some people like to wear shades working at the PC.
I have read three tutorials and seen a few videos before I landed here. After all that i endured, I was still not understanding a makefile or its concepts. After watching your video, I was enlightened. It was well explained and the example was understandable with great details even a beginner could understand. Great Job! Subscribed.
I never leave comments on videos but I have to say you explained this so perfectly. Very easy to understand! Great Job!
Oh man! You saved me. I'm more into the programming side of computer science, but I'm taking a Linux commands class, as required for any comp science degree at my school. My professor spent an hour teaching this lesson, but due to a language barrier, I didn't get it, but your tutorial makes it so easy to understand. Thank you very much.
spun my wheels for a while trying to make heads or tails using the coursework notes and other sites... this video explained everything amazingly!! you're a legend! thanks!
I can't believe this. This explanation of Makefile is so good I was able to finish my project in time with working Makefile. Thank you.
This is an awesome tutorial! Few days ago my prof gave a handout about how to make a Makefile but it didn’t explain how it actually works. This tutorial was a great explanation. Thank you sir!!
This is the hands down the best that helps a beginner understand Makefile.
Finally this is like the one video that makes a lot of sense for makefiles. But since I'm inexperienced gotta start somewhere! As time goes on I will understand other videos on makefiles. Thanks!!!!!
I've been spoiled by IDE's and now I'm stuck trying to work with a bare tool chain... more through choice and necessity as I need to get to grips with this stuff as I know it will make things easier when pulling source code and libraries from other places. Very useful information.
I was searching the explanation for make files for days....and I am so satisfied with this...great job...thank u so much..for making it so easy to understand
This dude singlehandedly explained how to make a fucking Makefile in less than what it would have taken me to finish taking a shit. You've earned a sub.
Give this man a medal. Cheers to RUclipsrs unf****ing the s***storms we endure in college.
Oh my god, thank you so much for a perfect explanation. To add on to what everyone else is saying - BEST tutorial I've ever seen!
I wish more videos were like this, simple, only explaining the concept at hand. Other tutorials of more advanced programming often assume you have knowledge that leads to you being more confused
Thank you so much for this video. I tried reading documentation on Makefiles but didn't understand anything. Now that I've gone through this video, I understand! Excellent introduction. I can pretty easily extend the ideas presented here to more advanced Makefiles.
You really should make a small series on more advanced topics in Makefile.
This short tutorial and introduction to Makefiles is very clear for those dealing with Makefiles for the first time.
Oh, THAT'S how Makefiles work. Best tutorial ever.
Y'all are so blessed to know this stuff. I can't even figure out my phone sitting God 🙏
Perfect introduction to Makefile. Exactly what a person needs if they have never used Makefile before, (and you resisted the temptation to throw too much at them.)
This is the best makefile explanation I have read. It just makes so much sense. Thank you!
The best explanation of makefiles i have ever seen
thank you such much paul this helped me clear all confusion around makefile
This guy explains things like he knows all the secrets of the multiverse. I am enlightened.
That is so true. Everything he said makes sense which is nice since I'm trying to teach myself c++
Thank you so much for this video. I'm a total beginner with makefiles and you cleared a lot of things in my head !
Probably the best tutorial I have ever seen.
You accomplished what my professor couldn't in 1/10th of the time.
legend my professor failed to explain this at all so this was a lifesaver
not only is this concise, this is also the only one that worked on windows
This is the most concise RUclips tutorial I have seen on any topic. You have earned a new subscriber :).
That was just what I needed! Always thought that makefiles were very complicated, but thanks to you now it's very simple to understand! Thank you vey much!!!
very precise. Thanks for taking the time to explain the concept. This is the first time I come across makefile and it makes perfect sense. I now fully understand how this thing works.
I was getting errors at first because a small mistake, "MakeFile" instead of "Makefile" 😂😂. Thanks Paul for a great tutorial.
How was I not able to accomplish this, thank you for this simple tutorial I was able to create a makefile first try after watching this.
Holy crap. My cs prof gave me a huge documentation page to read on how to use the make files. This made it waaaaaay easier
Thanks! I had to learn how to write a makefile for an exam and you explained it very well. +1 subscriber
That was a great and very concise introduction to make files. I keep referring it out to people I help out as a quick intro to the topic. Thanks!
Thanks! I knew all this ~35 years ago. I haven't needed to write my own makefiles since, and sort of forgot some details. ;)
I must leave a praise in comment box for this tut. Even though I knew about make file. Great explanation!
This is a great and very informative video! You explained the concept so well, thank you for your help!
you just input happiness into my life
insanely well spoken and directed
Everything makes so much sense now. Well done!
Best explanation of how something works. EVER!!! I just subscribed to your channel.
This is SO simple yet SOOO informative. Subscription deserved.
5 out of 5 STARS for this video #PaulProgramming. Your explanation is second to none. This is the second video I have watched of yours. I have LIKED and SUBSCRIBED to your channel this tutorial. Thanks for helping us all that need the help.
I love this tutorial! Clean explanation and very understandable. Thank you for making this tutorial!
Best tutorial about makefile! Very well explained! Thank you for making this video!
Thank you for the clear and straightforward explanation of the makefile!
legit insane tutorial seems pretty simple when you explain.
Great tutorial. Probably the best on "Makefiles".
Best tutorial on makefiles
Excellent explanation! Quick, clear and concise! Top job, mate!
Man you're a legend thanks ! you would be a perfect teacher...Subscribed !
Damn this is the best makefile video on youtube
The best makefile tutorial, if you don´t leave with mastery of it´s usage i´s because you didn´t watch the video.
Thanks a lot for this informative tutorial. It's one of the great tutorials about makefiles.
Better use $(CXX) instead of g++. This makes sure that the default C++ compiler of the system is used. CC is the C compiler on the other hand.
I see your point, but that should be in the next tutorial, not this one.
This was one of those tutorials that wasn't excruciatingly slow but still covered everything in great detail. Good job! It was very good.
Nice way of explain it. I was so confused before I saw this tuto. Thanks!
best tuto of makefile ever.
I am saying this from 2021.
See you.
Brilliant! Thank you so much. Very clean and smooth explanation. Greetings from Turkey
Tutorial is so good and very easy to understand. Thanks for the video and looking forward to see many videos like this.
Best video ever. Simple and informative.
Really good intro for an intermediate topic. Thanks for making the tutorial!
Awesome video!! Helped my finish my computer science Homework!!
Holy I've seen some complicated tutorials and article on makefiles but boy after seeing this video, it seems so simple. lol
Thanks Paul.
You have helped alot!!
Love from India.
Great video! I'm developing on Windows and am using Clang. I ran into a weird issue and would like to help others who run into it as well:
In my case, I used `clang` instead of `g++` (I'm compiling C files) but when I ran `make` my `clang` commands were mysteriously changed to `cc` which is Microsoft's C compiler. I was confused by this as what I had typed was not what was being compiled. The answer is to add CC= at the top of your file. For me, that looked like this:
CC=clang
output: ...
Alternatively if you don't want to specify the compiler in your make file, you can run make like this:
make CC=clang
Of course, if you are using `g++` like the tutorial in this video, simply change `clang` to `g++`. I hope this helps others who are using GCC Make on Windows and are running into compiler hijacking.
Thanks a lot, clear and concise. Other videos on make are much longer and way more complicated.
Thanks for the straight-forward to the point tutorial!
Thx a ton, like others wrote below I understood it all after watching your video, thank you.
A quick and handy introduction. Great for beginners. Thanks!
That was indeed a pretty good introduction to Makefiles
why did my Uni have to make it seem so complicated??? I was struggling a lot with Makefiles and had no idea what the commands even mean so thanks a lot :)
Great tutorial! Simple, straightforward and easily understandable! Nice one
Clean and concise introduction. Great stuff.
Thank you so much for this. My professor did not explain it nearly as well.
also you can run the command:
open output
(once the executable has been made)
and a new window will open the executable with the desired message
Awesome video! Perfectly explained
Literally a life saver
excellent tutorial, but how would we link a pre-written library to out project?
Thanks you very much, the tutorial so very clear, easy to understand and remember.
I watching that in 2020. It is real good tutorial !
Thank you for a very simple and clear explanation
Really great. Well explained and brief, just what I needed. Thanks a lot!