P
Paminu
I have made a lot of helping functions that I would like to have in a
seperate file. I have tried putting them in a file "functions.c". I then
have the file "myprogram.c" that contains some structs and other primary
functions.
In my make file I then have:
myprogram: myprogram.c functions.c
gcc myprogram.c -o myprogram
But that does not work. Is it really impossible to put functions in other
files?
seperate file. I have tried putting them in a file "functions.c". I then
have the file "myprogram.c" that contains some structs and other primary
functions.
In my make file I then have:
myprogram: myprogram.c functions.c
gcc myprogram.c -o myprogram
But that does not work. Is it really impossible to put functions in other
files?