summaryrefslogtreecommitdiff
path: root/rebuild.sh
diff options
context:
space:
mode:
authorEpoch Qwert <epoch@53flpnlls43fcguy.onion>2014-10-13 20:54:28 -0500
committerEpoch Qwert <epoch@53flpnlls43fcguy.onion>2014-10-13 20:54:28 -0500
commit1852f2d7d63c39d0fd97a2774d1bd16bf53ec67d (patch)
tree69bc1a71b839857e6b841862b74aa3c0b56b860c /rebuild.sh
downloadmisc-1852f2d7d63c39d0fd97a2774d1bd16bf53ec67d.tar.gz
misc-1852f2d7d63c39d0fd97a2774d1bd16bf53ec67d.zip
initial commit. collected some tools I had laying around.
Diffstat (limited to 'rebuild.sh')
-rwxr-xr-xrebuild.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/rebuild.sh b/rebuild.sh
new file mode 100755
index 0000000..84f7cff
--- /dev/null
+++ b/rebuild.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+for i in src/*.c;do
+ out=$(basename $i | cut -d. -f1)
+ gcc -o bin/$out $i
+ cp bin/* /usr/local/bin/
+done
+for i in nocompile/*;do
+ out=$(basename $i)
+ cp $i /usr/local/bin/$out
+done