contrib/hgsh/Makefile
author Pierre-Yves David <pierre-yves.david@fb.com>
Tue, 14 Oct 2014 02:32:26 -0700
changeset 23008 d3137827016a
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
bundle2: extract processing of part into its own function This is code movement only. This will be useful to have it separated for reuse purposes. We plan to introduce a new feature to the bundle format that allow inserting a part in the middle of another part payload. This will be useful to transmit a exception raised during a part generation.

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