How to bundle C code in C shell script?

Posted by eSKay on Stack Overflow See other posts from Stack Overflow or by eSKay
Published on 2010-05-05T17:02:00Z Indexed on 2010/05/05 17:58 UTC
Read the original article Hit count: 170

Filed under:
|
|
|
|

I have a C shell script that calls two C programs - one after the another with some file handling before, in-between and afterwards.

Now, as such I have three different files - one C shell script and 2 .c files.

I need to give this script to other users. The problem is that I have to distribute three files - which the users must keep in the same folder and then execute the script.

Is there some better way to do this?

[I know I can make one C code file out of those two... but I will still be left with a shell script and a C code. Actually, the two C codes do entirely different things... so I want them to be separate]

© Stack Overflow or respective owner

Related posts about c

    Related posts about c++