contrib/hgsh/Makefile
author Manuel Jacob <me@manueljacob.de>
Sun, 29 May 2022 15:17:27 +0200
changeset 49284 d44e3c45f0e4
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
py3: replace `pycompat.xrange` by `range`

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