contrib/hgsh/Makefile
author Martin von Zweigbergk <martinvonz@google.com>
Sat, 09 Feb 2019 14:37:58 -0800
changeset 41666 a950b65cbe1b
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
scmutil: remove special handling of pats==("",) in matchandpats() (API) I don't know under what circumstances we used to pass that value, but we don't seem to do it now. Differential Revision: https://phab.mercurial-scm.org/D5921

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