contrib/hgsh/Makefile
author Yuya Nishihara <yuya@tcha.org>
Sat, 11 Apr 2020 00:47:32 +0900
changeset 44853 a347a329e48d
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
rust-chg: reimplement locator by using async/await and tokio-0.2 connect_spawned() is rewritten from scratch by using std::process. Before, it would select completion of either connection or server process. New code could be implemented as such, but it's much simpler to occasionally run try_wait() to detect server death. Differential Revision: https://phab.mercurial-scm.org/D8447

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