view contrib/hgsh/Makefile @ 2341:dbbe7f72d15a

contrib: add restricted shell.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Tue, 23 May 2006 09:33:09 -0700
parents
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