contrib/hgsh/Makefile
author Gregory Szorc <gregory.szorc@gmail.com>
Tue, 01 Mar 2022 20:52:32 -0800
changeset 49026 2cce2fa5bcf7
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
py3: replace pycompat.itervalues(x) with x.values() pycompat.itervalues(x) just calls x.values(). So this is equivalent. The rewrite was perfomed via an automated search and replace. Differential Revision: https://phab.mercurial-scm.org/D12341

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