contrib/hgsh/Makefile
author Yuya Nishihara <yuya@tcha.org>
Wed, 02 Dec 2015 23:04:58 +0900
branchstable
changeset 27226 f5e8cb813a4d
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
parsers: fix parse_dirstate to check len before unpacking header (issue4979)

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