contrib/hgsh/Makefile
author Pierre-Yves David <pierre-yves.david@octobus.net>
Mon, 19 Jul 2021 15:34:17 +0200
changeset 47738 c53008253113
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
test: use the internal `_normallookup` in `test-rebuildstate.t` This is a low level test doing low level manipulation. Differential Revision: https://phab.mercurial-scm.org/D11180

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