contrib/hgsh/Makefile
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 02 Feb 2021 15:35:58 +0100
changeset 46456 1e26b882d704
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
ci-fix: backed out changeset 45afff0f530a This changeset is part of a series that break Continuous integration on python 2 for about a week. As not concrete solution have been found so far the safer seems to back it out until we can figure the details out. Differential Revision: https://phab.mercurial-scm.org/D9948

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