Using make and writing Makefile ( in C++ or C )

Поделиться
HTML-код
  • Опубликовано: 31 окт 2024

Комментарии • 289

  • @xyz9621
    @xyz9621 4 года назад +141

    There is a very serious error in the last line of your Makefile:
    rm -rf *o hello
    The argument "*o" means every file whose name ends with "o", not just ".o". I.e. this command would also delete "hello", "foo" and anything like that.
    As far as you only intend to delete the object files, the command should looks like this:
    rm -rf *.o hello

    • @abcxyz-nd6xh
      @abcxyz-nd6xh 4 года назад +1

      But co-incidentally, the main target name, hello, also ends with "o",
      so, just for ***this*** example directory,
      rm -rf *o
      is sufficient, for the removal job.
      Anyway, the point is, you don't keep redundant files in your project dir.

    • @ahbarahad3203
      @ahbarahad3203 3 года назад +6

      He just missed a dot, chill out, its probably a typo

    • @Avighna
      @Avighna 2 года назад

      @shah ok but you were hostile towards him

  • @andreashadjigeorgiou1596
    @andreashadjigeorgiou1596 4 года назад +4

    Awesome! I knew almost nothing before about Makefiles, but after this video
    I was able to understand what are the targets, what are the dependencies, when you need to use
    tab and why, when to use space, and how to write clear and modular makefiles!
    It explains things very very clearly.
    Thank you man!

  • @tiyabansal7267
    @tiyabansal7267 3 года назад

    We have OOM in our first semester and I was not getting any idea of makefiles and now after watching this video I can even explain makefiles really well! This is super helpful!

  • @gregorysaldanha5360
    @gregorysaldanha5360 8 лет назад +23

    Thank you so much! I was having a real pain with makefiles but you made it so simple and well explained. Great job :)

  • @69k_gold
    @69k_gold 3 года назад +18

    When it's your first semester and you're studying everything to pass and came here for that

  • @ProgrammingKnowledge
    @ProgrammingKnowledge  8 лет назад +6

    Find More Codes On My Website - www.codebind.com

  • @brandoncrenshaw6813
    @brandoncrenshaw6813 4 года назад

    EXCELLENT VIDEO!!!
    Dude... you wouldn't believe how high the barrier of entry is for a layman just trying to use stuff off github...

  • @Fl4m3S0ldi3r
    @Fl4m3S0ldi3r 7 лет назад

    Just wanted to drop a comment saying that this video really helped me. Last assignment of the quarter and was having a really rough time with Makefile. Your tutorial was way better than my teachers lol. Thanks!

  • @manushrivastava2224
    @manushrivastava2224 Год назад

    Thanku very much for your support. You explained everything so well and in simple way. Hats Off to you man❤️

  • @abcxyz-nd6xh
    @abcxyz-nd6xh 4 года назад

    Very complete and informative about "make",
    in such a short-video format like this one.

  • @rachelf5466
    @rachelf5466 3 года назад

    This is the best tutorial I've found on Makefiles! Very clear and succinct. Thanks for making this video!

  • @TropicalPriest
    @TropicalPriest 7 лет назад +1

    Thanks, great tutorial. Makefiles were pretty confusing. But, now that I've watched you build one, I have a much better understanding of their functionality. Thank you. Loved the video. Favorited your website, as well.

  • @shrn
    @shrn 3 года назад +1

    7 years old and is still GOLD

  • @DonCorleoneQ8
    @DonCorleoneQ8 9 лет назад +164

    Very helpful!
    you "make" me happy.
    Thank you :)

    • @Reaper7mk
      @Reaper7mk 8 лет назад +26

      +DonCorleoneQ8 dat pun gave me cancer

    • @dayone1992
      @dayone1992 7 лет назад

      lmao

    • @Nobodyyoucarabout
      @Nobodyyoucarabout 7 лет назад +6

      Stop "making" programmers look bad.

    • @ed.peguillan.3
      @ed.peguillan.3 7 лет назад +1

      Hoochie Goochie y don't you Make like a Tree and Git outta here

    • @mohamedraafat7479
      @mohamedraafat7479 6 лет назад +2

      me too .. you make me happy :D

  • @gregory_zaika
    @gregory_zaika 8 лет назад +13

    Thank you. That is exactly what I needed to understand the topic. A lot of tutorials make it redundantly complicated, this one is very clear.

  • @Jumbo_chimre
    @Jumbo_chimre 3 года назад

    very useful and intuitive tutorial on makefiles.

  • @paradoxnafi
    @paradoxnafi 6 лет назад

    Love you bro. You have saved me twice twice wwith this video with 4 months gap in between

  • @SMOKEY428
    @SMOKEY428 7 лет назад

    Coding ka asli badshah ❗️‼️ 👍💯

  • @rajukumarsah6062
    @rajukumarsah6062 4 года назад

    Nice explanation with simple example...

  • @anupriyasharma7672
    @anupriyasharma7672 3 года назад

    Thank you very much...best video on Makefile.

  • @sravanthreddy688
    @sravanthreddy688 5 лет назад

    Explained in very simple terms. Very good video for a beginner. Thanks for your efforts.

  • @ManzoorHussain-gz1vk
    @ManzoorHussain-gz1vk 3 года назад

    Thank you, sir. It is really helpful. Please do some more videos on Makefile.

  • @FaadooStocks
    @FaadooStocks 3 года назад

    simple and crisp to the point video

  • @theglasspinataincident7405
    @theglasspinataincident7405 9 лет назад

    This really helped me out. My CS course requires us to use Makefiles for compiling and I'm used to using an IDE.

  • @mohitsolanki5505
    @mohitsolanki5505 5 лет назад

    It's is very very very very very Good Video,
    It's Very useful.
    Thank You.

  • @ponnuvel659
    @ponnuvel659 7 лет назад

    Really this tutorial is very helpful for beginners.....thx lot

  • @Sip4874
    @Sip4874 4 года назад +1

    Thank you very much. It helps me a lot!

  • @abulkasimlaskar
    @abulkasimlaskar 7 лет назад

    Thanks . Make file is explained very nicely.

  • @volo7
    @volo7 7 лет назад

    FINALLY! the video I've been looking for to explain makefiles and the process of creating them. Thank you so much!

  • @shreyansborad9977
    @shreyansborad9977 5 лет назад

    as simple and nice explanation as they can come.. good work man

  • @rajaneeshdonthi4622
    @rajaneeshdonthi4622 5 лет назад

    Very clear explanation, thank you

  • @yuganderkrishansingh3733
    @yuganderkrishansingh3733 5 лет назад

    to the point and full of useful info. Great for starters...Thanks for the video :)

  • @fordtom9489
    @fordtom9489 3 года назад

    Brilliant ideas, thank you, you helped me a lot

  • @LePeppino
    @LePeppino 5 лет назад

    Very good explanation. Thanks!

  • @BylerTerryhill
    @BylerTerryhill 8 лет назад

    Thanks! Makefiles have always looked incredibly cryptic to me, but this helps.

  • @mohnish.deshpande
    @mohnish.deshpande 2 года назад

    Thanks for the tutorial!!!!

  • @umairkiyani05
    @umairkiyani05 8 лет назад

    Excellent explanation ......

  • @velankar
    @velankar 4 года назад

    Thanks man you're a saviour

  • @hamedelahi2249
    @hamedelahi2249 2 года назад

    Thank you so much. That was excellent.

  • @magentaRE
    @magentaRE 5 лет назад +3

    Thank you very much :) I love India :)

  • @johnnytan9438
    @johnnytan9438 5 лет назад

    Thank you !!! Very clear and helpful

  • @MrGameengineer
    @MrGameengineer 8 лет назад

    Very easy to follow! Thanks so much!

  • @NikhilSharma-kn3yq
    @NikhilSharma-kn3yq 10 лет назад

    Good Video...Thanks for the information in such simple words...
    truely deserved like.....!!!

  • @limitless1692
    @limitless1692 5 лет назад

    Very useful and in detail video
    Thanks :)

  • @arunkumarneelam5875
    @arunkumarneelam5875 5 лет назад

    your explanation was fabulous :) !!

  • @NarendraKumarAchari
    @NarendraKumarAchari 9 лет назад

    Nice one for beginners

  • @aravindgooogle8431
    @aravindgooogle8431 5 лет назад

    For basics this is useful.

  • @comvisblog4825
    @comvisblog4825 5 лет назад

    Simple and very helpful

  • @sampathelvitigala7011
    @sampathelvitigala7011 9 лет назад

    Great Video!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @mohamedaboelnasr6674
    @mohamedaboelnasr6674 2 года назад

    thanks for awesome explanation

  • @colinrickels201
    @colinrickels201 9 лет назад

    much appreciated! Example extracted right from tutorials plus BUT made completely understandable where tutorials plus failed at this >=( . Very Swell job

  • @katnesuresh44
    @katnesuresh44 4 года назад

    Good explanation. Thank you :)

  • @bananapudding4854
    @bananapudding4854 6 лет назад

    Thank you so much for this video! This video clearly explained everything step by step! It was simple and clear, which is super helpful for beginners like me. Even if I don't know all the complicated extras, I understand the main idea now.

  • @sharadpandey7834
    @sharadpandey7834 8 лет назад

    very helpful tutorial ,thanx

  • @vikasnavgire6295
    @vikasnavgire6295 8 лет назад

    Very helpful to understand makefile and create our own one.
    Thanks a lot..!!

  • @RamananRajaraman
    @RamananRajaraman Год назад

    Good explanation, thank you

  • @kksaisubramanyam3619
    @kksaisubramanyam3619 8 лет назад

    Thanks very much..
    understood very well

  • @swk9015
    @swk9015 4 года назад

    You just save my life!!

  • @loufadoros20
    @loufadoros20 4 года назад

    Honestly it was a very good video and it helped me to revise in a nutshell what makefile was all about. Keep up the good work @ProgrammingKnowledge

  • @ankushkala1675
    @ankushkala1675 9 лет назад

    Very helpful ... thanks!!

  • @saraserrano9553
    @saraserrano9553 8 лет назад

    Mersi sinyó es mereix un like!!

  • @balaramprajapati8870
    @balaramprajapati8870 2 года назад

    very good explanation

  • @taralshahshah
    @taralshahshah 8 лет назад

    Very good explained

  • @TheEntlassen
    @TheEntlassen 8 лет назад

    Excellent explanation! I have been finding easy-to-understand tutorial and this is the one!

  • @TwickenStep
    @TwickenStep 7 лет назад

    awesome, thank you for this. Its the only good make file tutorial ive seen and been able to understand!

  • @YAYAYANNOU
    @YAYAYANNOU 4 года назад

    The video I was looking for. thanks.

  • @codewithnacho
    @codewithnacho 8 лет назад +2

    Great explanation! I finally understand the basic concept of Makefiles. Thank you very much

  • @guapachajo
    @guapachajo 9 лет назад

    Excelente Video. Muchas gracias.

  • @PradeepSanjeewa1
    @PradeepSanjeewa1 6 лет назад

    Very useful video. Thanks a lot :)

  • @kaidi9316
    @kaidi9316 10 лет назад

    This video is just fantastic. Thanks!

  • @EstebanQuijada
    @EstebanQuijada 9 лет назад

    this video saved my life

  • @seangleason7298
    @seangleason7298 4 года назад

    very helpful. Thank you.

  • @helferleinruprecht5564
    @helferleinruprecht5564 9 лет назад

    Thanks! Your video helped me a lot!

  • @murilozangari
    @murilozangari 9 лет назад

    thanks. Its help me a lot.

  • @manikanta8782
    @manikanta8782 7 лет назад

    Dude. Please prepare well before making a video, don't end up saying the same things again and again or confuse people which makes the viewers unpleasant in viewing it. By the way thanks for the video. It's very helpful.

  • @johnsonwei5821
    @johnsonwei5821 7 лет назад

    Great video and very helpful.
    Thank you!

  • @leenalzebn6176
    @leenalzebn6176 9 лет назад

    thank you it's really useful

  • @ankitshubham1437
    @ankitshubham1437 9 лет назад

    Helped a lot dude... exactly what I needed... thanks

  • @jyotirmayaojha6516
    @jyotirmayaojha6516 6 лет назад

    Good work, amazing tutorial.

  • @trashcan3958
    @trashcan3958 6 лет назад

    This is EXACTLY what I needed. Thank you.

  • @gauravverma4660
    @gauravverma4660 9 лет назад

    very very helpful. thank you so much plz upload some advance cvedio

  • @tukaramgaikwad1793
    @tukaramgaikwad1793 7 лет назад

    Thanks Sir
    Great tutorial

  • @Raghudegaucho
    @Raghudegaucho 7 лет назад

    Very nice video.

  • @TusharJoshi591
    @TusharJoshi591 10 лет назад

    It was very helpful to get started ! Thanks ! :)

  • @xinfap.5968
    @xinfap.5968 6 лет назад

    dude this is so freaking clean, keep on good work

  • @philpesce
    @philpesce 8 лет назад

    Very helpful! Thank you!

  • @PawanKumarYouTube
    @PawanKumarYouTube 8 лет назад +1

    Patient author. Just what I want to start with. Thanks a lot for making this Video :)

  • @saketseshadri7515
    @saketseshadri7515 4 года назад

    nice introduction

  • @leylaismayilova5830
    @leylaismayilova5830 3 года назад

    That's great, Thanks a lot

  • @yousafs9837
    @yousafs9837 8 лет назад

    very helpful! thanks!

  • @vivekpanchal8270
    @vivekpanchal8270 6 лет назад

    Helpful tutorial.

  • @md2k6
    @md2k6 8 лет назад

    Thank you, this video is very helpful.

  • @krakwal
    @krakwal 10 лет назад

    Thanks for this presentation.

  • @2fast4uspartan
    @2fast4uspartan 10 лет назад

    Great video!

  • @RondellKB
    @RondellKB 6 лет назад

    Very helpful! Thanks.

  • @rongimpelevich9681
    @rongimpelevich9681 7 лет назад

    good for a clean start. thanks

  • @ashwinidj9849
    @ashwinidj9849 2 года назад

    Great job thank you

  • @ruthnoel7490
    @ruthnoel7490 6 лет назад

    Great vid

  • @puddlebee
    @puddlebee 9 лет назад

    Superb :D After much troubles finally this one got me through!

  • @KananDethin
    @KananDethin 8 лет назад

    Thank you very much. This makes me appproach my dream career.