hi, you can pass paramters to a make file from the command line.
For eg- if you want to pass a variable and a filename, you can pass them as
make PARA1=1 PARA2=myfile.c
The same names PARA! and PARA2 should be used within the makefile. Also, if you assign these variables with some other value within the make file, the value in the makefile is overriden
can you let me know, how to pass the parmaeters in a makefile. I need to pass the name of the file that I want to compile.