blob: f0f662d15e3599a3a8a2b271781f6391aee71da1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
.POSIX:
.SUFFIXES:
AWK = env LC_ALL=C awk
outputs = xS xS-version.go xS-replies.go
all: $(outputs)
xS: xS.go xS-version.go xS-replies.go
go build -o $@
xS-version.go: ../liberty/tools/cmake-parser.awk \
xS-gen-version.awk ../CMakeLists.txt
$(AWK) -f ../liberty/tools/cmake-parser.awk \
-f xS-gen-version.awk ../CMakeLists.txt > $@
xS-replies.go: xS-gen-replies.awk xS-replies
$(AWK) -f xS-gen-replies.awk xS-replies > $@
clean:
rm -f $(outputs)
|