contrib/hgsh/Makefile
author Martin von Zweigbergk <martinvonz@google.com>
Wed, 22 Jul 2020 10:32:28 -0700
changeset 45280 83ca8d6f3206
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
config: re-calculate absolute %include path in `include` callback This removes the last user of the `abs` argument for the `include` callback. The next patch will remove the argument. Differential Revision: https://phab.mercurial-scm.org/D8795

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