contrib/hgsh/Makefile
author Yuya Nishihara <yuya@tcha.org>
Sun, 03 Jan 2016 12:45:32 +0900
changeset 28062 1000ccf804a6
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
chg: use in-tree hg executable to start server for testing

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