contrib/hgsh/Makefile
author Alex Gaynor <agaynor@mozilla.com>
Fri, 29 Sep 2017 15:49:43 +0000
changeset 34331 531332502568
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
style: always use `x is not None` instead of `not x is None` Differential Revision: https://phab.mercurial-scm.org/D842

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