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)