summaryrefslogtreecommitdiff
path: root/util/nvmutil/Makefile
blob: f25f6dd53e53d1cc765ac5a075101736625fb315 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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

nvm: nvmutil.c
	$(CC) $(CFLAGS) nvmutil.c -o nvm

install: nvm
	install nvm $(PREFIX)/nvm

clean:
	rm -f nvm