contrib/hgsh/Makefile
author Pulkit Goyal <7895pulkit@gmail.com>
Sat, 19 May 2018 21:47:59 +0530
changeset 38065 64280cd4b454
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
py3: use pycompat.bytestr() to convert str into bytes the keys of opts are str here, so we have to convert it to bytes before passing into error.Abort() Differential Revision: https://phab.mercurial-scm.org/D3617

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