diff options
author | John Ankarström <john@ankarstrom.se> | 2019-01-10 11:55:37 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2019-01-10 11:55:37 +0100 |
commit | 69c54e2597e93aa98e5a0a0b8d9695d8263c3102 (patch) | |
tree | 228b1d338d2dc19ed148fd5fc87d4341c4cba7f6 /Makefile | |
parent | 2ba89e8763b38dd89b7a87e08c2063599dde0723 (diff) | |
download | repl-69c54e2597e93aa98e5a0a0b8d9695d8263c3102.tar.gz |
better installation process
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |