contrib/hgsh/Makefile
author Martin von Zweigbergk <martinvonz@google.com>
Wed, 16 Jan 2019 21:32:15 -0800
changeset 41287 c0221d929eb9
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
tests: suppress "Checked out 1 paths of <hash>" from modern git test-convert-git.t is failiing since git commit 0f086e6dca (checkout: print something when checking out paths, 2018-11-13). Suppress the new output by disambiguating the arguments with a "--" separator. Differential Revision: https://phab.mercurial-scm.org/D5625

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