view contrib/hgsh/Makefile @ 36722:6bacb2f663cb

py3: use bytes() instead of str() Differential Revision: https://phab.mercurial-scm.org/D2665
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 05 Mar 2018 01:08:40 +0530
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