contrib/hgsh/Makefile
author Pierre-Yves David <pierre-yves.david@fb.com>
Tue, 07 Oct 2014 00:20:00 -0700
changeset 22807 cd43195ef876
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
getgraphlogrevs: remove user of baseset.append A `baseset` has multiple cached results and will get even more in the future. Making it an object "populated once" like the other smartsets makes it both safer and simpler. The append method will be removed at some point.

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