diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2016-12-20 23:14:26 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2016-12-20 23:14:26 +0100 |
commit | dc661663025f1a3ed115f32ad97f3afb2c7af304 (patch) | |
tree | 3b04e89bc8615a8612251f34314c1c82d708d899 /Makefile | |
parent | c818f1df2efdb8ac988aaeecf1c4fc30baef5e92 (diff) |
Add COPYING and implement make install.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |