summaryrefslogtreecommitdiff
path: root/xS/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'xS/Makefile')
-rw-r--r--xS/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/xS/Makefile b/xS/Makefile
new file mode 100644
index 0000000..55ad4d2
--- /dev/null
+++ b/xS/Makefile
@@ -0,0 +1,13 @@
+.POSIX:
+.SUFFIXES:
+AWK = env LC_ALL=C awk
+
+outputs = xS xS-replies.go
+all: $(outputs)
+
+xS: xS.go xS-replies.go
+ go build -o $@
+xS-replies.go: xS-gen-replies.awk xS-replies
+ $(AWK) -f xS-gen-replies.awk xS-replies > $@
+clean:
+ rm -f $(outputs)