view contrib/hgsh/Makefile @ 27244:709977a4fc9d

exchange: standalone function to determine if bundle2 is requested This will be used in a subsequent patch.
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 04 Dec 2015 13:31:01 -0800
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