contrib/hgsh/Makefile
author Siddharth Agarwal <sid0@fb.com>
Wed, 07 Jun 2017 21:17:06 -0700
changeset 32719 74680ed89a29
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
run-tests: output coverage to output dir There do not appear to be any tests for this, and I've never used either of these options before, but this works.

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