ceremonyclient/pebble/sstable/testdata/Makefile
Cassandra Heart 2e2a1e4789
v1.2.0 (#31)
2024-01-03 01:31:42 -06:00

18 lines
333 B
Makefile

all: rebuild
.PHONY: rebuild
rebuild: make-table h.txt
./make-table
h.txt: hamlet-act-1.txt
cat hamlet-act-1.txt | \
tr '[:upper:]' '[:lower:]' | \
grep -o -E '\w+' | \
sort | \
uniq -c | \
awk '{printf "%7s %s\n", $$1, $$2}' \
> h.txt
make-table: make-table.cc
g++ -std=c++14 -o make-table make-table.cc -lrocksdb