view contrib/hgsh/Makefile @ 47060:fde5bb5d1acf

merge: with stable
author Augie Fackler <augie@google.com>
date Mon, 03 May 2021 15:14:09 -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