diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,13 +1,18 @@ -1brc: main.ha hashmap.ha - hare build -o 1brc . +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: clean check +.PHONY: run clean check |
