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


Comments

  1. Tukaram Gaikwad1 March 2017 at 15:39

    Thanks Sir
    Great tutorial

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

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

    ReplyDelete
  4. Mersi sinyó es mereix un like!!

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

    ReplyDelete
  6. NAMAN ALLAWADHI1 March 2017 at 15:39

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

    ReplyDelete
  7. Rickety Cricket1 March 2017 at 15:39

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

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

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

    ReplyDelete
  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

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

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

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

    ReplyDelete
  14. PUTO AMOO JODEEEEERRRRRRRRR ME CAGO EN DIOSSSS

    ReplyDelete
  15. Good explanation dude

    ReplyDelete
  16. very helpful! thanks!

    ReplyDelete
  17. nice video :) helped me a lot

    ReplyDelete
  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 :)

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

    ReplyDelete
  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?

    ReplyDelete
  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

    ReplyDelete
  22. ProgrammingKnowledge1 March 2017 at 15:39

    Find More Codes On My Website - http://www.codebind.com

    ReplyDelete
  23. NAMAN ALLAWADHI1 March 2017 at 15:39

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

    ReplyDelete

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?

How To Install Kali Linux in VirtualBox - Learn Online

in this video I am going to sho you How to install Kali Linux in Virtualbox : Step-by-step . This is A detailed guide on installing Kali Linux on VirtualBox. I am going to show How to Install Kali Linux 2016 + Guest Additions on VirtualBox. Install Kali linux 2.0 on Virtual Box Step by Step Install Kali LInux 2 in VirtualBox Installing Kali Linux 2016.1 on VirtualBox

How to install Skype on Ubuntu Linux 13.04/12.10/12.04 x64/x32 bit - Learn Online

Required commands to install skype sudo dpkg --add-architecture i386 sudo apt-get update sudo add-apt-repository "deb $(lsb_release -sc) partner" sudo apt-get update && sudo apt-get install skype Download Skype for Linux, get Skype for Linux How to Install Skype Using Terminal on Ubuntu How to install Skype with 13.04 How do I install Skype Install Skype on Ubuntu 12.04 LTS 64-bit How to install Skype in Ubuntu 13.04 How to get Skype for Ubuntu How to install skype in ubuntu 12.04 Latest Skype Release Added to Ubuntu Software Center How do I add Skype to my version of Ubuntu Skype for Ubuntu (32-bit) How to get Skype video call to work in Ubuntu How to Get Rid of Skype on Ubuntu How to Install Skype Wrapper and Integrate Skype into Ubuntu