contrib/hgsh/Makefile
author Pulkit Goyal <7895pulkit@gmail.com>
Sun, 10 Dec 2017 04:47:49 +0530
changeset 35365 7354fda50e8b
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
py3: handle keyword arguments correctly in obsolete.py Differential Revision: https://phab.mercurial-scm.org/D1638

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