kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 4f126f51d3b1f9d2fbd76a9fe5634b26b2b2a483
parent 00a180c44583de03f347d41e0d7371cf1833124b
Author: Joris Vink <joris@coders.se>
Date:   Thu,  3 Jul 2014 21:38:16 +0200

Add install/uninstall targets.

Diffstat:
Makefile | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -2,6 +2,7 @@ CC=gcc BIN=kore +INSTALL_DIR=/usr/local/bin S_SRC+= src/kore.c src/accesslog.c src/auth.c src/buf.c src/config.c \ src/connection.c src/domain.c src/http.c src/mem.c src/module.c \ @@ -50,6 +51,12 @@ endif all: $(S_OBJS) $(CC) $(CFLAGS) $(S_OBJS) $(LDFLAGS) -o $(BIN) +install: + install -m 555 $(BIN) $(INSTALL_DIR)/$(BIN) + +uninstall: + rm -f $(INSTALL_DIR)/$(BIN) + .c.o: $(CC) $(CFLAGS) -c $< -o $@