Files
lbmk/util/dell-flash-unlock/Makefile
T
Leah Rowe 9b01115c5a dell-flash-unlock: fix errno handling
and remove pedantic flags in makefile

Signed-off-by: Leah Rowe <leah@libreboot.org>
2026-04-22 03:38:30 +01:00

17 lines
379 B
Makefile

# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2023 Nicholas Chin
CC=cc
CFLAGS=-Wall -Wextra -O2
SRCS=dell_flash_unlock.c accessors.c
all: $(SRCS) accessors.h
CFLAGS="$(CFLAGS)"; \
if [ $$(uname) = OpenBSD ] || [ $$(uname) = NetBSD ]; then \
CFLAGS="$$CFLAGS -l$$(uname -p)"; \
fi; \
$(CC) $$CFLAGS $(SRCS) -o dell_flash_unlock
clean:
rm -f dell_flash_unlock