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?

Google Fight Against Low Quality and Spammy Content

  Google's ongoing battle against spammy and low-quality content in search results is an essential aspect of maintaining the platform's credibility and usefulness. Here are some of the new strategies and policies Google is implementing to combat these issues: Improved Quality Ranking : Google is enhancing its core ranking algorithms to prioritize high-quality and original content while reducing the visibility of unoriginal or spammy content in search results. New Spam Policies : Google is updating its spam policies to address emerging tactics used by spammers. This includes targeting practices such as expired websites repurposed as spam repositories, obituary spam, and other manipulative behaviors. Reducing Unoriginal Results : Google is refining its ranking systems to identify and minimize unhelpful, unoriginal content. This includes pages created specifically to match certain search queries and content that prioritizes search engine optimization over user experience. Scaled C

How to Share Folders in Ubuntu Guest with Windows 7 Host using VirtualBox - Learn Online

Oracle VirtualBOX: mounting Windows 7 host folder into guest Oracle VirtualBOX: mounting Windows 7 host folder into guest Sharing folders between Ubuntu guest and Windows Host How to access windows host shared folders from ubuntu guest Share folder between Windows (Host) and Ubuntu (Guest) VirtualBox: access Windows-host shared folders from Ubuntu-guest Access VirtualBox Shared Folder from Ubuntu 12.04