contrib/hgsh/Makefile
author Augie Fackler <augie@google.com>
Sat, 13 Oct 2018 03:27:21 -0400
changeset 40234 3fc2ef49959c
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
relnotes: port to Python 3 The big annoyance here was having to feed textwrap unicodes instead of bytes, but it all seems to work. Differential Revision: https://phab.mercurial-scm.org/D5053

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