diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-10-25 23:11:05 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-10-25 23:11:05 +0100 |
commit | 3e1a2127aa97f73f54531823bb08d6b9debcdda0 (patch) | |
tree | b5f875c5db6843a076d56cd75585f4c0362507fe | |
parent | 5a88c5b61e4575397793f80ca780416104e904bb (diff) | |
download | minecraft-rcon-master.tar.gz |
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -7,6 +7,8 @@ OBJECTDIR = obj OUTPUT = rcon +PREFIX = / + SRCS = $(wildcard $(SOURCEDIR)/*.c) OBJS = $(SRCS:.c=.o) OBJ = $(OBJS:$(SOURCEDIR)/%=$(OBJECTDIR)/%) @@ -37,3 +39,7 @@ all: clean build run: build @$(BUILDDIR)/$(OUTPUT) + +install: build + @strip $(BUILDDIR)/$(OUTPUT) + @install $(BUILDDIR)/$(OUTPUT) $(PREFIX)/bin/$(OUTPUT) |