view contrib/hgsh/Makefile @ 27771:338c9d227a9e

commands: use a context manager for file I/O in debugdiscovery
author Bryan O'Sullivan <bryano@fb.com>
date Tue, 12 Jan 2016 14:28:43 -0800
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