How to Create a Simple Makefile - Introduction to Makefiles

Поділитися
Вставка
  • Опубліковано 17 тра 2015
  • In this video I show how to create a simple makefile.
    Want to learn C++? I highly recommend this book amzn.to/1PftaSt
    Donate - bit.ly/17vCDFx
    STILL NEED MORE HELP?
    Connect one-on-one with a Programming Tutor. Click the link below:
    trk.justanswer.com/aff_c?offe...
    :)

КОМЕНТАРІ • 391

  • @ArcieGaming
    @ArcieGaming 5 років тому +124

    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!

  • @jonathancollett4174
    @jonathancollett4174 12 днів тому +2

    Wow!! 9 years later and this video still holds up and is very informative. I just created my first makefile!!

  • @AnuliaSuper
    @AnuliaSuper 8 років тому +667

    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.

  • @alireza98325
    @alireza98325 5 років тому +78

    9:13 "so I think that was a pretty good introduction to Makefiles"
    I agree 👍👍👍

  • @majinmilad
    @majinmilad 5 років тому +131

    I logged in to my UA-cam 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!

  • @jedijackattack3594
    @jedijackattack3594 4 роки тому +106

    This is probably one of the best tutorials on youtube or in general for make files just for the basics. this is great buddy

  • @jude-harrisonobidinnu3876
    @jude-harrisonobidinnu3876 2 роки тому +8

    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.

  • @misteronsepatro7018
    @misteronsepatro7018 5 років тому +9

    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

  • @norcal6181
    @norcal6181 6 років тому +4

    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!

  • @derelicts9503
    @derelicts9503 Рік тому +3

    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!!!

  • @joe0404
    @joe0404 8 років тому +1

    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.

  • @WhileTrueThenDream
    @WhileTrueThenDream 4 роки тому +2

    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

  • @_IamJr_
    @_IamJr_ 4 роки тому +1

    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.

  • @jordanvert
    @jordanvert 4 роки тому +2

    I never leave comments on videos but I have to say you explained this so perfectly. Very easy to understand! Great Job!

  • @stephenjames5745
    @stephenjames5745 3 роки тому

    This is the best makefile explanation I have read. It just makes so much sense. Thank you!

  • @Pawl0solidus
    @Pawl0solidus 4 роки тому

    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!!!

  • @pankajniroula4388
    @pankajniroula4388 5 років тому

    This is the hands down the best that helps a beginner understand Makefile.

  • @JulietNovember9
    @JulietNovember9 8 років тому

    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!

  • @samim.4949
    @samim.4949 3 роки тому

    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.

  • @KaruniaSentosa
    @KaruniaSentosa 4 роки тому +1

    I love this tutorial! Clean explanation and very understandable. Thank you for making this tutorial!

  • @breelindee4627
    @breelindee4627 5 років тому +5

    This is a great and very informative video! You explained the concept so well, thank you for your help!

  • @garimachauhan9916
    @garimachauhan9916 10 місяців тому +1

    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!

  • @vojazzy11
    @vojazzy11 3 роки тому

    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!

  • @LOGICOMA
    @LOGICOMA 2 роки тому

    Excellent explanation! Quick, clear and concise! Top job, mate!

  • @alika8236
    @alika8236 4 роки тому

    Thank you so much for this video. I'm a total beginner with makefiles and you cleared a lot of things in my head !

  • @mileswiggins2174
    @mileswiggins2174 2 роки тому

    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!!!!!

  • @christianborao4248
    @christianborao4248 5 років тому

    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.

  • @TUMATATAN
    @TUMATATAN 5 років тому

    Best explanation of how something works. EVER!!! I just subscribed to your channel.

  • @davictor24
    @davictor24 4 роки тому

    This is the most concise UA-cam tutorial I have seen on any topic. You have earned a new subscriber :).

  • @NotDovahClean
    @NotDovahClean Рік тому

    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!!

  • @mackiej
    @mackiej 4 роки тому

    Thank you for the clear and straightforward explanation of the makefile!

  • @kaviyasubramanian4908
    @kaviyasubramanian4908 4 роки тому

    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

  • @anthonysmith1026
    @anthonysmith1026 4 роки тому

    Probably the best tutorial I have ever seen.

  • @ericxue3244
    @ericxue3244 Рік тому

    Everything makes so much sense now. Well done!

  • @mekacheradem4720
    @mekacheradem4720 6 років тому +2

    Man you're a legend thanks ! you would be a perfect teacher...Subscribed !

  • @rafaelperes6333
    @rafaelperes6333 6 років тому

    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.

  • @hannesthiersen8170
    @hannesthiersen8170 4 роки тому

    This is SO simple yet SOOO informative. Subscription deserved.

  • @FlooferLand
    @FlooferLand 3 роки тому +4

    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 UA-cam

    • @DariusOutdoors
      @DariusOutdoors 4 місяці тому

      Some people like to wear shades working at the PC.

  • @MayureshKadu
    @MayureshKadu Рік тому

    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!

  • @kal9001
    @kal9001 6 років тому +1

    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.

  • @jonas14812
    @jonas14812 2 роки тому

    Great tutorial! Simple, straightforward and easily understandable! Nice one

  • @rugmaable
    @rugmaable 10 місяців тому

    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.

  • @santaana36
    @santaana36 4 роки тому +1

    Oh, THAT'S how Makefiles work. Best tutorial ever.

  • @OpenDiaryNKM
    @OpenDiaryNKM 7 років тому +5

    I must leave a praise in comment box for this tut. Even though I knew about make file. Great explanation!

  • @lachierox28
    @lachierox28 5 років тому

    insanely well spoken and directed

  • @mertcokelek5420
    @mertcokelek5420 5 років тому

    Brilliant! Thank you so much. Very clean and smooth explanation. Greetings from Turkey

  • @Karaboseopa-jx1qy
    @Karaboseopa-jx1qy Місяць тому

    The best explanation of makefiles i have ever seen

  • @royanaskhat8300
    @royanaskhat8300 2 роки тому

    Best tutorial about makefile! Very well explained! Thank you for making this video!

  • @i_o_media
    @i_o_media 2 роки тому +1

    thank you such much paul this helped me clear all confusion around makefile

  • @freeruninja
    @freeruninja 7 років тому

    legit insane tutorial seems pretty simple when you explain.

  • @FeedehC
    @FeedehC 3 роки тому

    Really great. Well explained and brief, just what I needed. Thanks a lot!

  • @jakeholle6065
    @jakeholle6065 8 років тому

    Thanks! I had to learn how to write a makefile for an exam and you explained it very well. +1 subscriber

  • @eliasalabssie1965
    @eliasalabssie1965 5 років тому +1

    you just input happiness into my life

  • @GabrielSoares-mt5il
    @GabrielSoares-mt5il 4 місяці тому

    Thanks for the straight-forward to the point tutorial!

  • @TheExcellentVideoChannel
    @TheExcellentVideoChannel Рік тому

    Great tutorial covering the foundations. On to something intermediate now.

  • @TheTaekwondo1996
    @TheTaekwondo1996 3 місяці тому

    Thanks a lot for this informative tutorial. It's one of the great tutorials about makefiles.

  • @ricardohincapie1537
    @ricardohincapie1537 4 роки тому

    Nice way of explain it. I was so confused before I saw this tuto. Thanks!

  • @TheSkarabeush
    @TheSkarabeush 2 роки тому

    Thx a ton, like others wrote below I understood it all after watching your video, thank you.

  • @frederickshafer7405
    @frederickshafer7405 5 років тому

    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.

  • @umeshpant3398
    @umeshpant3398 2 роки тому

    Thanks Paul.
    You have helped alot!!
    Love from India.

  • @rie9950
    @rie9950 3 роки тому

    Great tutorial. Probably the best on "Makefiles".

  • @JustNook
    @JustNook 6 років тому

    Awesome video!! Helped my finish my computer science Homework!!

  • @Prashanth_650
    @Prashanth_650 Рік тому

    Tutorial is so good and very easy to understand. Thanks for the video and looking forward to see many videos like this.

  • @johnpaul2205
    @johnpaul2205 3 роки тому +1

    Y'all are so blessed to know this stuff. I can't even figure out my phone sitting God 🙏

  • @berend109
    @berend109 3 роки тому

    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.

  • @jawnvawn
    @jawnvawn Рік тому

    Really good intro for an intermediate topic. Thanks for making the tutorial!

  • @MorganC-zz1bg
    @MorganC-zz1bg Рік тому

    thank you so much for this. clear and to the point, much appreciated.

  • @cheapmoviesnow
    @cheapmoviesnow 5 років тому

    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

  • @KingGrio
    @KingGrio 3 роки тому

    Thank you for a very simple and clear explanation

  • @BusinessBuzz
    @BusinessBuzz 5 років тому +3

    Awesome video! Perfectly explained

  • @ngoako
    @ngoako 2 роки тому +1

    Best tutorial on makefiles

  • @kerimgueney
    @kerimgueney 2 роки тому

    Clean and concise introduction. Great stuff.

  • @NibbleMeTwice
    @NibbleMeTwice 6 місяців тому

    This is a fantastic tutorial. Thank you very much.

  • @wadehawkins2310
    @wadehawkins2310 3 роки тому

    Best video ever. Simple and informative.

  • @alik250
    @alik250 2 роки тому

    This is a great start! I learned a lot, thanks

  • @maxholthaus5528
    @maxholthaus5528 6 років тому

    Thanks a lot, clear and concise. Other videos on make are much longer and way more complicated.

  • @ricardo.mazeto
    @ricardo.mazeto 8 років тому +1

    Great explanation! Thank you so much!

  • @tedx777
    @tedx777 4 роки тому

    Thanks you very much, the tutorial so very clear, easy to understand and remember.

  • @ashrasmun1
    @ashrasmun1 6 років тому

    Unbelievably helpful. Thank you a lot!

  • @Countdown142
    @Countdown142 6 років тому

    1000th like! Thanks for the video! Helped me understand the syntax for makefiles!

  • @wajdichaouch4508
    @wajdichaouch4508 4 роки тому

    Thank you very much, It's an awesome tutorial, Good Job Paul.

  • @MsJoelbispo
    @MsJoelbispo 3 роки тому

    best tuto of makefile ever.
    I am saying this from 2021.
    See you.

  • @90125iahg
    @90125iahg Рік тому

    Extraordinary! Great, great tutorial.

  • @JohnDoe-ki6fm
    @JohnDoe-ki6fm 3 роки тому

    Thanks! I knew all this ~35 years ago. I haven't needed to write my own makefiles since, and sort of forgot some details. ;)

  • @amoldake7795
    @amoldake7795 4 роки тому

    very well explained in simpler words, thank you very much

  • @mikelong3444
    @mikelong3444 3 роки тому +1

    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.

  • @RahulKumar-wv4ti
    @RahulKumar-wv4ti 8 років тому +8

    that was just perfect..made my night :p

  • @heatherwilliford9386
    @heatherwilliford9386 2 роки тому

    Thank you so much for this. My professor did not explain it nearly as well.

  • @ivanvostrilov1578
    @ivanvostrilov1578 3 роки тому

    I watching that in 2020. It is real good tutorial !

  • @metaljesus5334
    @metaljesus5334 Рік тому

    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.

  • @narutouchiha1946
    @narutouchiha1946 4 роки тому

    You accomplished what my professor couldn't in 1/10th of the time.

  • @robsonaparecido4365
    @robsonaparecido4365 5 років тому

    Oh gosh. It´s pretty cool. Now I understud this usefull Makefile. Thank you so much!!

  • @noone-fx8dx
    @noone-fx8dx 2 роки тому

    not only is this concise, this is also the only one that worked on windows

  • @recklessroges
    @recklessroges 5 років тому +3

    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.)

  • @gressab.7830
    @gressab.7830 2 роки тому

    this is exactly what i needed. Thank you so much🙏

  • @dharmikmistry8781
    @dharmikmistry8781 4 роки тому

    Perfect and very clean explanation 👍. Thank you sir

  • @xTerminatorAndy
    @xTerminatorAndy 5 років тому +1

    EXCELLENT INTRODUCTION!
    ANDY LIKES THIS

  • @malkavian6275
    @malkavian6275 3 роки тому

    Literally a life saver

  • @MuhammadHassan-hj6mx
    @MuhammadHassan-hj6mx 2 роки тому

    Excellent intro. Thanks!

  • @garywelford2713
    @garywelford2713 2 роки тому

    Thanks for making a quality tutorial.