contrib/hgsh/Makefile
author Kyle Lippincott <spectral@google.com>
Mon, 08 Jul 2019 12:17:06 -0700
changeset 42570 75fd9421440b
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
crecord: add "x" alias for space, remove test-only "TOGGLE" alias Differential Revision: https://phab.mercurial-scm.org/D6618

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