Compiling C with a Makefile in Visual Studio
I've been searching for hours and I still can't figure out how to do this so I finally just registered and asked.
I'm doing a project for college. We were given a bunch of C files (to modify) and H files and a Makefile. We were told to execute the Makefile using "make" in order to compile the program.
I'm pulling my hair out trying to figure out how to do this. The Makefile itself is very short and simple so I'll post it here:
I've tried installing MinGW and GNUwin32 but they don't seem to be doing anything. Can somebody please tell me some basic instructions on how to do this? It would really make my day.
gcc -g test.c fs.c ext.c -o sfs
gcc -g a1/caching.c a1/mydisk.c fs.c test.c exta1.c -o sfs
rm -rf *.out *.o a1/*.o sfs storage