summaryrefslogtreecommitdiff
path: root/source3/aparser/build
diff options
context:
space:
mode:
Diffstat (limited to 'source3/aparser/build')
-rwxr-xr-xsource3/aparser/build13
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/aparser/build b/source3/aparser/build
new file mode 100755
index 0000000000..4cdf2901f8
--- /dev/null
+++ b/source3/aparser/build
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+file=$1
+
+if ! igawk -f main.awk $file; then
+ echo parse failed;
+ exit 1;
+fi
+
+echo compiling vluke
+gcc -Wall -g -o vluke parser.c vluke.c util.c
+echo done.
+