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++
Thanks Sir
ReplyDeleteGreat tutorial
Thank you very much. This makes me appproach my dream career.
ReplyDeleteThis was awesome, Thank you so much for this
ReplyDeleteMersi sinyó es mereix un like!!
ReplyDeleteWell spotted. Probably better to use something like this: rm -f *.o hello
ReplyDeleterm -rf *o will remove hello as well :)
ReplyDeletethank you, i found this this vid very useful :)
ReplyDeleteYes, and any other file that happens to end with o.
ReplyDeleteI would have used something like this instead:
rm -f *.o hello
Doesn't "rm -rf *o" already delete also the "hello" file?
ReplyDeleteVery informative lectures. My question is why did not you add the $(CFLAGS) with hello target in second line:
ReplyDeletehell: main.o function1.o function2.o
$(CC) main.o function1.o function2.o -o hello
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.
ReplyDeletecan you create some videos on compiling custom ROMs from source
ReplyDeletePrintf("Thanks a lot , Perfect");
ReplyDeletePUTO AMOO JODEEEEERRRRRRRRR ME CAGO EN DIOSSSS
ReplyDeleteGood explanation dude
ReplyDeletevery helpful! thanks!
ReplyDeletenice video :) helped me a lot
ReplyDeleteThank you so much! I was having a real pain with makefiles but you made it so simple and well explained. Great job :)
ReplyDeleteyes there is I think he explained that in the video, to add a comment to the makefile start the comment with a "#"
ReplyDeleteIs there a way to add comments in Makefile so that the users who would check the program would understand what the commands do?
ReplyDeleteYou should also make the included files dependencies, otherwise it might not work correctly if you update one of the header files.
ReplyDeletemain.o: main.cpp *functions.h*
g++ -c main.cpp
Find More Codes On My Website - http://www.codebind.com
ReplyDelete@5:15, Makefile was not saved with "compile:"
ReplyDelete