view contrib/hgsh/Makefile @ 4887:bbdcacf7cef8

mq: autodetect an existing git patch during qrefresh (issue 491)
author Bryan O'Sullivan <bos@serpentine.com>
date Mon, 16 Jul 2007 16:50:47 -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