summaryrefslogtreecommitdiff
path: root/util/nvmutil
diff options
context:
space:
mode:
Diffstat (limited to 'util/nvmutil')
-rw-r--r--util/nvmutil/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/util/nvmutil/Makefile b/util/nvmutil/Makefile
index 47ab02fb..f9f72370 100644
--- a/util/nvmutil/Makefile
+++ b/util/nvmutil/Makefile
@@ -1,11 +1,16 @@
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2022 Leah Rowe <leah@libreboot.org>
+# SPDX-FileCopyrightText: 2023 Riku Viitanen <riku.viitanen@protonmail.com>
CC=cc
CFLAGS=-Os -Wall -Wextra -Werror -pedantic
+PREFIX?=/usr/bin
-all:
+nvm:
$(CC) $(CFLAGS) nvmutil.c -o nvm
+install: nvm
+ install nvm $(PREFIX)/nvm
+
clean:
rm -f nvm