summaryrefslogtreecommitdiffstats
path: root/makefile-so/test
diff options
context:
space:
mode:
Diffstat (limited to 'makefile-so/test')
-rwxr-xr-xmakefile-so/test5
1 files changed, 5 insertions, 0 deletions
diff --git a/makefile-so/test b/makefile-so/test
new file mode 100755
index 0000000..410ce11
--- /dev/null
+++ b/makefile-so/test
@@ -0,0 +1,5 @@
+#!/bin/bash
+DIR=$(dirname $0)
+cd $DIR && make clean && make || exit 1
+LD_LIBRARY_PATH=. ./main
+