People who still could not figure out the solution for the "***no target specified and no makefile found. stop." in windows machine. Here's a solution. Instead of saving the file type as Makefile, save it as "files of all types". Then the make should work like a charm. It worked out for me. Let me know if it does. Thanks. A great fan of your work Kiran. Learned a lot from you since the pandemic had begun. Keep inspiring us all. Thank you.
thank you sir, these matters are usually not found in video formats on youtube so we have to learn with books old school way but this makes it so easy to learn.
Excellent video. The only issue I ran into was that the make command did not work when I saved my Makefile with the .mak extension. After I removed this .mak extension the Makefile was recognized. Posting this in case someone else runs into this problem.
It doesn't matter. You can use either of them. My guess is the tutor might have recorded those at different times using different shells. It's immaterial in this case.
After using command make, it's showing error no target specified and no makefile found. Iam in the correct directory and the directory contains makefile named Makefile. Any idea why is it so?
I was having the same issue and actually I still don't understand why. Anyway, I solved it by forcing the "make" command to read my makefile with "make -f Makefile.mak"
For people getting error in windows: "***no target specified and no makefile found. stop. Rename the file Makefile.mak to Makefile (i.e remove the extension it will work)
Can you tell me which lecture is that from Udemy? I bought almost all your courses. I want to see if that's a new course or I missed something from an old lecture.
If you are using VSCode, select 'Convert indentation to tabs'. Otherwise the tabspace given for recipes are consiidered spaces and make commad returns error - '*** missing separator. Stop'
People who still could not figure out the solution for the "***no target specified and no makefile found. stop." in windows machine. Here's a solution. Instead of saving the file type as Makefile, save it as "files of all types". Then the make should work like a charm. It worked out for me. Let me know if it does.
Thanks.
A great fan of your work Kiran. Learned a lot from you since the pandemic had begun.
Keep inspiring us all. Thank you.
Thanks
Thanks it worked now
Thanks for the help. Can you please tell the reason behind this?
thanks
thank you sir, these matters are usually not found in video formats on youtube so we have to learn with books old school way but this makes it so easy to learn.
Take a bow for outstanding explanation about makefile stuff
Excellent video. The only issue I ran into was that the make command did not work when I saved my Makefile with the .mak extension. After I removed this .mak extension the Makefile was recognized. Posting this in case someone else runs into this problem.
thanks
At 12:29 in this video, you switched from a Windows CLI to a Linux shell or something equivalent. Where did I miss this change? Tks.
i also observed this if u find this just clarify to me once....
It doesn't matter. You can use either of them. My guess is the tutor might have recorded those at different times using different shells. It's immaterial in this case.
It's mingw, a minimal Linux environment for windows. The terminal is Git for windows.
Looking forward to future lectures! Good content and well explained. Thank you
Is there a good documentation on 16-bit DOS relocatable Object files?
After using command make, it's showing error no target specified and no makefile found. Iam in the correct directory and the directory contains makefile named Makefile. Any idea why is it so?
I have the same issue.
If it is saved as Makefile.mak, remove the extension and just save it as Makefile.
I was having the same issue and actually I still don't understand why.
Anyway, I solved it by forcing the "make" command to read my makefile with "make -f Makefile.mak"
yes even I got the same error, It got resolved when I kept the recipe in the following format
$(CC) blinky0.c -o blinky.o $(CFLAG)
@@vevasam thank you, your ans helpful me
Nice lecture thanks. Very clear and undestandable.
For people getting error in windows: "***no target specified and no makefile found. stop.
Rename the file Makefile.mak to Makefile (i.e remove the extension it will work)
hey, thank u:)
thanks
thanks
thanks bro its working
Can you tell me which lecture is that from Udemy? I bought almost all your courses. I want to see if that's a new course or I missed something from an old lecture.
i think it's new and not on udemy yet
I think it is from "Make your own bootloader for STM".. something like that..
Its a guess btw. I could be wrong
Hello,
this tutorials helped lot to understand Makefile. Can you please share further references to study about Makefile
If you are using VSCode, select 'Convert indentation to tabs'. Otherwise the tabspace given for recipes are consiidered spaces and make commad returns error - '*** missing separator. Stop'
Meson build is much better.