view contrib/hgsh/Makefile @ 31893:165428b05fca

upgrade: import 'localrepo' globally The in-function imports mention a cycle that seems to no longer be relevant. As a result, we just import it globally.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Tue, 11 Apr 2017 22:01:13 +0200
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