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


23 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

Note: only a member of this blog may post a comment.