contrib/hgsh/Makefile
author Gregory Szorc <gregory.szorc@gmail.com>
Fri, 10 Aug 2018 12:08:45 -0700
changeset 39236 a79279a21b0a
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
changegroup: call rev() on manifestlog instance rev() is part of the imanifestlog interface and should be used instead of using the private revlog instance, which is an implementation detail. Differential Revision: https://phab.mercurial-scm.org/D4269

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