view contrib/hgsh/Makefile @ 48535:799fdf4cca80 stable 6.0.1

docs: update Rust readme with a mention of `rhg` Differential Revision: https://phab.mercurial-scm.org/D11811
author Raphaël Gomès <rgomes@octobus.net>
date Fri, 26 Nov 2021 14:29:05 +0100
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