view contrib/hgsh/Makefile @ 36432:1ca4e86c7265

util: handle fileno() on Python 3 throwing io.UnsupportedOperation Fortunately, the exception exists on Python 2 so we don't have to do something weirder than this. Differential Revision: https://phab.mercurial-scm.org/D2450
author Augie Fackler <augie@google.com>
date Mon, 26 Feb 2018 00:51:41 -0500
parents dbbe7f72d15a
children
line wrap: on
line source

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