blob: ca23c714357037a09507b3ead355167301b6e1f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2022,2025 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
nvm: nvmutil.c
$(CC) $(CFLAGS) nvmutil.c -o nvm
install: nvm
install nvm $(PREFIX)/nvm
uninstall: clean
rm -f $(PREFIX)/nvm
distclean:
rm -f nvm
clean:
rm -f nvm
|