From c3fa3407ccc172ced3bf6e36c5ffb5e1ba089f65 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Mon, 9 Jul 2018 22:58:54 -0700 Subject: install readme --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 755317b..aa9c91e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ CFLAGS=-O2 -g -lX11 -Wall -Werror -I. -Wno-unused-function LDFLAGS=-lXft -lfontconfig +PREFIX ?= /usr/local BIN=cmdtree @@ -33,6 +34,10 @@ $(BIN): $(OBJS) clean: fake rm -f $(OBJS) $(BIN) *.d +install: $(BIN) + mkdir -p $(PREFIX)/bin + cp $(BIN) $(PREFIX)/bin + TAGS: fake etags *.c -- cgit v1.2.3