contrib/hgsh/Makefile
author Phil Cohen <phillco@fb.com>
Sun, 25 Jun 2017 16:58:26 -0700
changeset 33082 f9e50ee4c52b
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
merge: replace repo.wvfs.unlinkpath() with calls to wctx[f].remove() The code inside workingfilectx.remove() is a straight call to repo.wvfs.unlinkpath, so this should be a no-op.

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