contrib/hgsh/Makefile
author Yuya Nishihara <yuya@tcha.org>
Thu, 16 Apr 2020 22:30:11 +0900
changeset 44728 59ad165f6cdb
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
templatekw: fix shownames() to check if namespace exists in repo (issue6301) Namespace registration is dynamic, but the corresponding template keyword is registered statically.

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