contrib/hgsh/Makefile
author Sean Farley <sean.michael.farley@gmail.com>
Wed, 15 Oct 2014 12:39:19 -0700
changeset 23261 79858e66a7ce
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
sortdict: add insert method Future patches will allow extensions to choose which order a namespace should output in the log, so we add a way for sortdict to insert to a specific location.

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