contrib/hgsh/Makefile
author Augie Fackler <augie@google.com>
Mon, 12 Feb 2018 15:00:18 -0500
changeset 36103 54e2abc73686
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
tests: use `hello` not `capabilities` over ssh Differential Revision: https://phab.mercurial-scm.org/D2195

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