14 lines
243 B
Makefile
14 lines
243 B
Makefile
|
.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)
|