contrib/hgsh/Makefile
author Simon Sapin <simon.sapin@octobus.net>
Tue, 27 Apr 2021 14:20:48 +0200
changeset 47131 60d852ae7e7b
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
dirstate-tree: Paralellize the status algorithm with Rayon The `rayon` crate exposes "parallel iterators" that work like normal iterators but dispatch work on different items to an implicit global thread pool. Differential Revision: https://phab.mercurial-scm.org/D10551

CC := gcc
CFLAGS := -g -O2 -Wall -Werror

prefix ?= /usr/bin

hgsh: hgsh.o
	$(CC) -o $@ $<

install: hgsh
	install -m755 hgsh $(prefix)

clean:
	rm -f *.o hgsh