aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 6eb9b9249da0e9e070da590b5d14ae1494711470 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
JOBS ?= $(shell nproc)

1brc: main.ha hashmap.ha pthread.ha
	hare build -D JOBS=$(JOBS) -lpthread -j $(JOBS) -o 1brc .

measurements.txt:
	./generate.py 1_000_000_000

run: 1brc measurements.txt
	./1brc

clean:
	rm -f 1brc

check:
	hare test

.PHONY: run clean check