view contrib/hgsh/Makefile @ 25096:081b08e4ea13

templater: look for mapfiles in template paths This will allow %include statements to search the default template paths in addition to the directory where the %including file is.
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Fri, 15 May 2015 09:07:27 -0400
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