contrib/hgsh/Makefile
author Augie Fackler <augie@google.com>
Fri, 02 Mar 2018 11:07:07 -0500
changeset 36602 e30be4d2ac60
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
lfs: use byteskwargs() on some **kwargs for python 3 compat Differential Revision: https://phab.mercurial-scm.org/D2566

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