contrib/hgsh/Makefile
author Simon Sapin <simon.sapin@octobus.net>
Tue, 21 Dec 2021 21:23:46 +0100
changeset 48543 0a4ac916673e
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
rhg: RevlogEntry::uncompressed_len is signed The corresponding Python code appears to explicitly check for non-negative values. Differential Revision: https://phab.mercurial-scm.org/D11962

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