contrib/hgsh/Makefile
author Martin von Zweigbergk <martinvonz@google.com>
Thu, 04 May 2017 21:11:40 -0700
changeset 32174 e4a4ebfd9d8e
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
forget: access status fields by name, not index

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