view contrib/hgsh/Makefile @ 44997:93aa152d4295

merge with stable
author Yuya Nishihara <yuya@tcha.org>
date Thu, 25 Jun 2020 22:40:04 +0900
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