view contrib/hgsh/Makefile @ 4742:2f2d8c5e7a5c

mercurial.spec: add BuildRequires Add build dependencies from README as block quote.
author julian@lava.net
date Sun, 21 Jan 2007 00:59:23 -1000
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