From 69c54e2597e93aa98e5a0a0b8d9695d8263c3102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 10 Jan 2019 11:55:37 +0100 Subject: better installation process --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 06a9ca1..f6f512d 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,14 @@ +PREFIX = /usr/local + +CFLAGS = -Werror -Wall LDFLAGS = -lreadline -ltermcap repl: repl.c + +install: repl + cp repl ${PREFIX}/bin/repl + cp repl.1 ${PREFIX}/man/man1/repl.1 + +uninstall: + rm ${PREFIX}/bin/repl + rm ${PREFIX}/man/man1/repl.1 -- cgit v1.2.3