diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-05-05 14:32:25 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-05-05 14:32:25 +0200 |
commit | ef48dde3a65e1c864ca8914fedb04741bbb67acd (patch) | |
tree | 25be6bfad11548e8fd20a455371d5b3f84f48937 | |
parent | b278a7c1c38b9059c79a3069b76788f6c8a94c98 (diff) | |
download | headstripper-ef48dde3a65e1c864ca8914fedb04741bbb67acd.tar.gz |
Makefile
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |