mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
9b01115c5a
and remove pedantic flags in makefile Signed-off-by: Leah Rowe <leah@libreboot.org>
17 lines
379 B
Makefile
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
|