Skip to main content

Using make and writing Makefile ( in C++ or C ) - Learn Online

How to make SIMPLE C++ Makefile?
GCC and Make - A Tutorial on how to compile, link and build
A Simple Makefile Tutorial
Tutorial on writing makefiles
A good makefile example
What is a makefile ?
Makefile with sub-directories
Makefile steps
Make File Tutorial
Searches related to makefile c++ tutorial
make file tutorial
how to make software in c++
makefile tutorial g++
best makefile tutorial
makefile tutorial c++ linux
simple makefile example c++
how to write a makefile
makefile template c++


  1. Tukaram Gaikwad1 March 2017 at 15:39

    Thanks Sir
    Great tutorial

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

  3. This was awesome, Thank you so much for this

  4. Mersi sinyó es mereix un like!!

  5. Well spotted. Probably better to use something like this: rm -f *.o hello

  6. NAMAN ALLAWADHI1 March 2017 at 15:39

    rm -rf *o will remove hello as well :)

  7. Rickety Cricket1 March 2017 at 15:39

    thank you, i found this this vid very useful :)

  8. Yes, and any other file that happens to end with o.
    I would have used something like this instead:
    rm -f *.o hello

  9. Doesn't "rm -rf *o" already delete also the "hello" file?

  10. Very informative lectures. My question is why did not you add the $(CFLAGS) with hello target in second line:
    hell: main.o function1.o function2.o
    $(CC) main.o function1.o function2.o -o hello

  11. TropicalPriest1 March 2017 at 15:39

    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.

  12. can you create some videos on compiling custom ROMs from source

  13. Printf("Thanks a lot , Perfect");


  15. Good explanation dude

  16. very helpful! thanks!

  17. nice video :) helped me a lot

  18. Gregory Saldanha1 March 2017 at 15:39

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

  19. yes there is I think he explained that in the video, to add a comment to the makefile start the comment with a "#"

  20. Is there a way to add comments in Makefile so that the users who would check the program would understand what the commands do?

  21. You should also make the included files dependencies, otherwise it might not work correctly if you update one of the header files.

    main.o: main.cpp *functions.h*
    g++ -c main.cpp

  22. ProgrammingKnowledge1 March 2017 at 15:39

    Find More Codes On My Website -

  23. NAMAN ALLAWADHI1 March 2017 at 15:39

    @5:15, Makefile was not saved with "compile:"


Post a Comment

Popular posts from this blog

C++ Programming Tutorial - How to Install Code::Blocks in Ubuntu Linux - Learn Online

Installing Code::Blocks How do I Install Code::Blocks HOWTO: Installing Code::Blocks 10.05 How do you install Irrlicht on Code::Blocks? How do you install CodeBlock on ubuntu? codeblocks /bin/sh: g++: not found Installing codeblocks on ubuntu Installing Code::Blocks on Ubuntu 10.04?

Facebook Advertising Coupon – What Happened?

It used to be that Facebook had many different promotions in which they gave out free $50 advertising coupons. Facebook Advertising Coupon is only getting from some hosting service that is include in godaddy Hostgator and 1and1, If you do a search for “Free Facebook Coupons” on Google you’ll probably see some results like this: Free coupon when you buy WordPress hosting through GoDaddy Free coupon when you setup a DIY website through specific website builders Free coupon when you “like” Facebook’s Marketing page Unfortunately none of these are still active. What happened is in mid-2015 Facebook tightened their hold on advertising credit coupons, likely in response to companies who were “reselling” coupons on eBay and Fiverr. As a result, Facebook ended many of these promotions. Facebook Advertising Coupon Facebook Ads can get expensive pretty quickly. There’s no secret about that. And with organic reach continuing to decline with the most recent algorithm update to th

Contextual Design and Development is the Driving Force Behind all Successful Mobile Applications

The time of ordinary custom web application design & development is long gone. Today the focus is on contextual design and development. It is the rise in the popularity of mobile applications that has provided the impetus for giving importance to ‘context’ when it comes to app or web development. Let’s focus our attention on mobile applications and why mobile applications need to be developed keeping the context in mind. Because they are used in diverse locations Let’s face it. We all love mobile apps because they can be used just about anywhere and at any given point of time. Yes, that’s right, they can be used in offices, on a train, in the kitchen, movie theatre and the list just goes on. So, the app needs to be developed in context of the location. Different users have different needs when it comes to a mobile app and these needs, in part, are determined by their location. For e.g. if a developer thinks a particular app that is in the process of being developed will onl