42_Scale

a small software to create and edit 42 (.yaml) scale files easily
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/42_Scale

commit 81c7da1f18bd10249c6957c756259287be36771f
parent 64e705f99ab45a93ae9d7b2c06bc6c6538a05c3a
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Fri, 29 Apr 2016 18:41:51 +0200

Add(README & Makefile): Add install

Diffstat:
MMakefile | 7+++++++
MREADME.md | 14++++++++++++++
2 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -24,6 +24,13 @@ all: $(NAME) $(NAME): $(OBJS) $(CC) $(CFLAGS) $(LIBS_DIR) $(LIBS) $(OBJS) -o $(NAME) +install: all +ifeq ($(UNAME_S),Darwin) + cp -v $(NAME) ~/.brew/bin +else + cp -v $(NAME) /usr/bin/. +endif + clean: rm -f $(OBJS) diff --git a/README.md b/README.md @@ -43,3 +43,17 @@ make ``` 42_scale ./file.yml ``` + +## Install + +### OSX +``` +make install +``` +The binary will be copied in ~/.brew/bin + +### Linux +``` +sudo make install +``` +The binary will be copied in /usr/bin