view contrib/hgsh/Makefile @ 31369:b6f5af372c0c

revlog: use bytes() instead of str() to get data from memoryview Fixes `files -v` on Python 3.
author Augie Fackler <augie@google.com>
date Sun, 12 Mar 2017 15:27:02 -0400
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