view contrib/hgsh/Makefile @ 42797:1faa2bed47c6

rust-dirstate: rename NULL_REVISION to NULL_ID which isn't a revision number
author Yuya Nishihara <yuya@tcha.org>
date Sat, 17 Aug 2019 13:27:11 +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