C++ Programming Tutorial 75 - Creating a Simple Makefile

preview_player
Показать описание


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

Best and most simple explanation I've found yet. This really helped me grasp what was going on and how/why I should be doing each step. Thank you very much sir!

thecodetoad
Автор

Consider adding math_utils.h as a dependency of math_utils.o, so if the header file changes, the appropriate rebuild occurs.

roddoe
Автор

you have no idea how much healing you 've just done to me ;-) thanks a Million Caleb !!

lamebrisee
Автор

Thank you very much for this helpful explanation. For those who are working on windows and cannot run the makefile, try to run mingw32-make (Take care to do the appropriate mingw32 installation before), it works with me :)

arwaaldabobi
Автор

Thank you Cal, it's my first makefile that works and I understand exactly how!

svetlinspirov
Автор

If you can't run this on windows with Visual Studio code look up Cygwin
Download and install the latest version
In the part where you select which programs to install make sure you expand Dev tools and tick make
Find the directory for your Cygwin folder and copy the directory address to the bin folder. It will probably look something like this C:\*\Cygwin\*\bin
On your computer go to Settings -> look up 'Edit environmental variables for your account' -> Double click Path -> Select 'New' -> Paste the directory to the bin folder
Finally restart Visual Code and voila, it should work

connoisseurofcookies
Автор

I' love how you show how tedius removing those object files and executable one by one, really shows we should appreciate clean command :D

keypo
Автор

I was crying for 2 days becuase my file wouldn't compile, then I remembered makefiles and this helped me. THANK YOU

iamhannahmontana
Автор

I was glad he went with lower-case 'm'

traversis
Автор

Super simple yet totally effective makefile example. Good job and thank you!!

rogercushman
Автор

You did "make" my day.
Thank you

aminramazanifar
Автор

why does it say for me : 'make' is not recognized as an internal or external command,
operable program or batch file.

benjaminasracas
Автор

can anyone please explain how the lines in the Makefile are executed, from bottom to top??

devsutong
Автор

make : The term 'make' is not recognized as the name of a cmdlet, function, script
file, or operable program.

HOW DO I FIX THIS ? :(

jisancy
Автор

that helped lot !!...I was lacking these fundamentals ... :)

parasarora
Автор

On Eclipse, I can't figure out how to manually compile. It automatically uses g++ commands in the console as default.

RatIceCream
Автор

Can anybody explain how does the terminal know “make” or “make clean” is it like per define?

humzaali
Автор

Is a make file for C++ the same as for C?

michaelnguyen
Автор

I found this worked on my windows pc, just had to rename makeFile to all lowercase (makefile)

oliverz
Автор

How can i see my C++ in assembly language in visual studio?

kanhaiya