view contrib/hgsh/Makefile @ 32503:361808a2b0b8

match: simplify includematcher a bit The "include" we have in symbols is redundant and the double negative in visitdir() can be removed.
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 22 May 2017 23:31:15 -0700
parents dbbe7f72d15a
children
line wrap: on
line source

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