mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-13 23:09:40 +02:00
nvmutil: make install
make install is nice to have. now respects$(PREFIX) as well. Signed-off-by: Riku Viitanen <riku.viitanen@protonmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user