summaryrefslogtreecommitdiff
path: root/mods/compile.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:42 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:42 +0200
commit98eac951f8087b213f5850bd126dcb279db360a8 (patch)
treec121f5c4df1aab847defa539990c1315bd5ba4a8 /mods/compile.sh
parent0537da9d1e0f593130fc3967befb71e673b016bc (diff)
tagging ychat-0.6ychat-0.6
Diffstat (limited to 'mods/compile.sh')
-rwxr-xr-xmods/compile.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/mods/compile.sh b/mods/compile.sh
new file mode 100755
index 0000000..2d2bd6f
--- /dev/null
+++ b/mods/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