I'm trying to learn how to create a makefile and I faced couple of issues related to commands which I should use.
- ls is something i know to list directories.
- rm is something I know to remove file or directory and some other.
Then I learnt that Unix-cmd is different from command prompt in windows and also from powershell.
I'm using Windows 11 to create a make file. and I found alternate commands for the above like
- dir /a:b, instead of ls
- erase instead of rm.
What is the difference btw these shells and where to find them?
Makefile:
print: $(wildcard *.c)
ls -la $?
Error I got: ls
'ls' is not recognized as an internal or external command,
operable program or batch file
I want to know a little more info about them. Also what makes are available something which gives some overview. Names are sufficient.