summaryrefslogtreecommitdiffstats
path: root/source/aparser/build
diff options
context:
space:
mode:
Diffstat (limited to 'source/aparser/build')
-rwxr-xr-xsource/aparser/build13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/aparser/build b/source/aparser/build
new file mode 100755
index 00000000000..4cdf2901f80
--- /dev/null
+++ b/source/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.
+