util/spkmodem_recv: Add strict CFLAGS

Signed-off-by: Leah Rowe <leah@libreboot.org>
fsdg20230625
Leah Rowe 2023-05-16 07:35:53 +01:00
parent b496ead7b3
commit f2887e9b45
1 changed files with 2 additions and 1 deletions

View File

@ -1,9 +1,10 @@
# SPDX-License-Identifier: GPL-2.0-or-later
PREFIX ?= /usr/local
INSTALL ?= install
CFLAGS ?= -Os -Wall -Wextra -Werror -pedantic
spkmodem-recv:
$(CC) -o $@ $@.c
$(CC) $(CFLAGS) -o $@ $@.c
install: spkmodem-recv
$(INSTALL) -d $(DESTDIR)$(PREFIX)/bin/
$(INSTALL) $< -t $(DESTDIR)$(PREFIX)/bin/