view contrib/hgsh/Makefile @ 19785:1d2ca307bf22

merge with stable
author Matt Mackall <mpm@selenic.com>
date Mon, 23 Sep 2013 13:26:11 -0700
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