diff options
-rw-r--r-- | util/spkmodem_recv/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/spkmodem_recv/Makefile b/util/spkmodem_recv/Makefile index 92a3bfe9..c436b509 100644 --- a/util/spkmodem_recv/Makefile +++ b/util/spkmodem_recv/Makefile @@ -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/ |