i have a c program assingment and the professor aked me to s
i have a c program assingment and the professor aked me to submit it in a way( A makefile that can be used to build the executable on a \"normal\" Linux platform using the GNU Compiler Collection.) :how to this ,can anyone help me with that please?
Solution
Normally , If you want to compile c programs in ubantu the GNU Compiler is the best compiler to compile and run c program -
So if you want to create and run c program in Linux platform you have to you followings commands
Let us suppose your program is given below and with the filename hello
To compile the program you have to run
To run the program you have to run the command-

