aboutsummaryrefslogtreecommitdiff
path: root/xS/Makefile
blob: 55ad4d22bbd0c6ac28ea658378251fbf18b861f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)