contrib/hgsh/Makefile
author Augie Fackler <augie@google.com>
Fri, 27 Apr 2018 11:22:00 -0400
changeset 37944 b3ffa2faae04
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
tests: port test-filecache.py to Python 3 Only remarkable bit is my wrapper around print(), which I regret a little, but not enough to go back and try to do something cleaner. Differential Revision: https://phab.mercurial-scm.org/D3506

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