util/spkmodem_recv: Add strict CFLAGS
Signed-off-by: Leah Rowe <leah@libreboot.org>fsdg20230625
parent
b496ead7b3
commit
f2887e9b45
|
@ -1,9 +1,10 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
INSTALL ?= install
|
INSTALL ?= install
|
||||||
|
CFLAGS ?= -Os -Wall -Wextra -Werror -pedantic
|
||||||
|
|
||||||
spkmodem-recv:
|
spkmodem-recv:
|
||||||
$(CC) -o $@ $@.c
|
$(CC) $(CFLAGS) -o $@ $@.c
|
||||||
install: spkmodem-recv
|
install: spkmodem-recv
|
||||||
$(INSTALL) -d $(DESTDIR)$(PREFIX)/bin/
|
$(INSTALL) -d $(DESTDIR)$(PREFIX)/bin/
|
||||||
$(INSTALL) $< -t $(DESTDIR)$(PREFIX)/bin/
|
$(INSTALL) $< -t $(DESTDIR)$(PREFIX)/bin/
|
||||||
|
|
Loading…
Reference in New Issue