github.com/cockroachdb/pebble@v1.1.2/sstable/testdata/Makefile (about)

     1  all: rebuild
     2  
     3  .PHONY: rebuild
     4  rebuild: make-table h.txt
     5  	./make-table
     6  
     7  h.txt: hamlet-act-1.txt
     8  	cat hamlet-act-1.txt | \
     9  		tr '[:upper:]' '[:lower:]' | \
    10  		grep -o -E '\w+' | \
    11  		sort | \
    12  		uniq -c | \
    13  		awk '{printf "%7s %s\n", $$1, $$2}' \
    14  		> h.txt
    15  
    16  make-table: make-table.cc
    17  	g++ -std=c++14 -o make-table make-table.cc -lrocksdb