mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
4defe2c608
Signed-off-by: Leah Rowe <leah@libreboot.org>
20 lines
374 B
Makefile
20 lines
374 B
Makefile
# 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
|
|
|
|
distclean:
|
|
rm -f nvm
|
|
|
|
clean:
|
|
rm -f nvm
|