view contrib/hgsh/Makefile @ 39194:c62184c6299c

merge with stable
author Augie Fackler <augie@google.com>
date Sun, 19 Aug 2018 21:53:41 -0400
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