contrib/hgsh/Makefile
author Gregory Szorc <gregory.szorc@gmail.com>
Fri, 31 Aug 2018 15:54:17 -0700
changeset 39412 a40d3da89b7d
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
cborutil: remove readindefinitebytestringtoiter() This was implemented as part of implementing streaming encoding. It was never used outside of tests. Now that we have a full CBOR decoder, it can be used for incremental decoding of indefinite-length byte strings. This also removes the last use of the vendored cbor2 package from this module. Differential Revision: https://phab.mercurial-scm.org/D4433

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