contrib/hgsh/Makefile
author Augie Fackler <augie@google.com>
Mon, 08 Apr 2019 10:56:55 -0400
changeset 42094 b1b216a241cc
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
remotefilelog: add tests of `hg grep -r 'wdir()'` This demonstrates how remotefilelog breaks grepping dirtied working directories. A future change will introduce a fix. Differential Revision: https://phab.mercurial-scm.org/D6216

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