summaryrefslogtreecommitdiff
path: root/ychat-0.5.0/cmnd/compile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ychat-0.5.0/cmnd/compile.sh')
-rwxr-xr-xychat-0.5.0/cmnd/compile.sh9
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