contrib/hgsh/Makefile
author Raphaël Gomès <rgomes@octobus.net>
Mon, 13 Feb 2023 18:11:48 +0100
changeset 50803 8ff187fbbfea
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
rust-config: add config getters that don't fall back to defaults This is useful in cases where we access config items that are more... lenient with their types than a fresh new system would allow. For now there is only a single use of this, but we might get more later.

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