contrib/hgsh/Makefile
author Martin von Zweigbergk <martinvonz@google.com>
Thu, 01 Feb 2018 10:10:01 -0800
changeset 35879 6c1d3779c052
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
discovery: don't reimplement all() Differential Revision: https://phab.mercurial-scm.org/D1993

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