contrib/hgsh/Makefile
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 02 Mar 2023 14:46:37 +0100
changeset 50265 240a04cedd24
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
branch: pass current transaction when writing branch for transaction backup This will requires more change soon (as we can simplify this backup). This will be done in later changesets.

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