contrib/hgsh/Makefile
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 06 Mar 2024 15:54:22 +0100
changeset 51532 a0ef462cf1a4
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
branchcache: filter obsolete revisions sooner Since we won't do anything with the obsolete revisions, we can just ignore them sooner.

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