I have a folder named 'X'. In X I have two subfolders named 'src' and 'include'.
The 'src' folder contains a C file 'main.c', and the 'include' folder contains a file 'main.h'.
I want to write a makefile to build these files(from folder X) in windows command prompt. I have tried a lot but with no effect. First of all I need the make file format in Linux for this, and once i have that i will do that in Windows.
Can anybody help me in doing this?