Mercurial > hg
view contrib/hgsh/Makefile @ 31718:bf64449b2779
hardlink: extract topic text logic of copyfiles
The topic text shows whether it's "linking" or "copying", based on
"hardlink" value. The function is extracted so a later patch can reuse it.
author | Jun Wu <quark@fb.com> |
---|---|
date | Wed, 29 Mar 2017 12:21:15 -0700 |
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