Torah puzzle
| Avoiding separate compilation
| Programs
|
The program prepare calls functions from the
service module ios. If you do not want to link
together object modules prepare.o and
ios.o after compiling prepare.c and
ios.c separately, you may substitute the line
#include "ios.h"
by the line
#include "ios.c"
in the file prepare.c. Compile the new
prepare.c; the module ios.c will be
included automatically. (Alternatively, you may insert the whole
text of ios.c in place of the include
directive.)
The same for sort_per.c, domain.c,
correct.c, import.c,
squeese.c, init.c,
reverse.c, and frequen.c. For
search.c substitute also #include
"book.h" by #include
"book.c".
For translit and restrict substitute
#include "ios.h" by
#include "ios_s.c". Doing so, you do
not need the header files ios.h,
ios_2.h, book.h.