Splitting program into multiple files?
Posted on 2000-03-01
I would like to take a program I have and split it down into more managable files and use 'make' to compile it. Currently the program consists of one .c file (fairly big) and one .h file in which all the preprocessor directives are, structure declarations, global variables, etc, etc.
How would I go about splitting this down into multiple files? What declarations go where? etc, etc.. Basically, any help and pointers you can give me that allows me to break this program up would be appreciated - thanks!!