view contrib/hgsh/Makefile @ 20818:c7d543eebe1a

merge with stable
author Matt Mackall <mpm@selenic.com>
date Fri, 21 Mar 2014 17:20:56 -0500
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