contrib/hgsh/Makefile
author Augie Fackler <augie@google.com>
Wed, 06 Nov 2019 17:46:12 -0500
changeset 43464 3e57809d3251
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
templateutil: fix a missing ABCMeta assignment Caught by pytype. Differential Revision: https://phab.mercurial-scm.org/D7262

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