From dc661663025f1a3ed115f32ad97f3afb2c7af304 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Tue, 20 Dec 2016 23:14:26 +0100 Subject: Add COPYING and implement make install. --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 441c008..2decd88 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ SRC := src/common.c \ src/mapcat.c OBJ := $(SRC:src/%.c=obj/%.o) OUT := mapcat +INSTALL := /usr/local/bin/mapcat all: $(OUT) @@ -35,5 +36,11 @@ clean: @echo "${PP_RM} ${OUT}" @rm -rf ${OUT} -.PHONY: clean +install: + install $(OUT) $(INSTALL) + +uninstall: + rm $(INSTALL) + +.PHONY: clean install uninstall -- cgit