view contrib/hgsh/Makefile @ 24533:888dcab69ca3

merge with stable
author Matt Mackall <mpm@selenic.com>
date Tue, 31 Mar 2015 08:31:42 -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