From ef48dde3a65e1c864ca8914fedb04741bbb67acd Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 5 May 2019 14:32:25 +0200 Subject: Makefile --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9b91297..2dea50c 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ BUILDDIR = build SOURCEDIR = src OBJECTDIR = obj OUTPUT = headstripper +PREFIX = / SRCS = $(wildcard $(SOURCEDIR)/*.c) OBJS = $(SRCS:.c=.o) @@ -43,3 +44,6 @@ clean: @echo [RM] $(BUILDDIR)/$(OUTPUT) @rm -df $(OBJ) @rm -Rdf $(BUILDDIR) $(OBJECTDIR) + +install: build + @cp $(BUILDDIR)/$(OUTPUT) $(PREFIX)/bin/$(OUTPUT) -- cgit v1.2.3