diff options
Diffstat (limited to 'ychat-0.5.0/cmnd/compile.sh')
| -rwxr-xr-x | ychat-0.5.0/cmnd/compile.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ychat-0.5.0/cmnd/compile.sh b/ychat-0.5.0/cmnd/compile.sh new file mode 100755 index 0000000..cee438c --- /dev/null +++ b/ychat-0.5.0/cmnd/compile.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +rm *.so 2> /dev/null + +for i in *cpp +do + echo Compiling $i + gcc -shared -o $(echo $i | sed s/cpp$/so/) $i +done |
