I suppose you have saved the C program under the name "generate1.c".
To compile it, you've typed
$ gcc -o generate generate.c -lm
gcc is the standard C compiler on linuxes.
- What follows the -o option is the name of the executable ("generate" here)
- The -lm option at the end instructs the compiler to use the math library (if sin function is
to be used).