hi!

i use djgpp to compile my plain c-code.

normally i compile with the following option:

Code:
gcc file.c -o file.exe -lm
how do i have to change the command if i want to include my own written header-file (*.h)?

that was question one - here is question two (you guessed it, it's about own header-files ):

for example: my header-file should only include this two functions:

Code:
int my_newline()
{
 printf( "\n" );

 return 0;
}

int my_lines(int x)
{
 int y;
 for(y=1; y<=x; y=y+1)
 {
  my_newline();
 }

 return 0;
}
what else do i have to include in my header-file?
explain it for a newbie please