view contrib/hgsh/Makefile @ 36784:e3732c3ab92d

py3: fix type of default username
author Yuya Nishihara <yuya@tcha.org>
date Sun, 04 Mar 2018 18:34:46 -0500
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