diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-12 21:21:36 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-26 06:49:05 +0000 |
| commit | 30d5ca51465800335fb402162799f5aaa5953666 (patch) | |
| tree | 4d025c0ed8428feccd8c6e336283d0731be5ada9 /util/spkmodem_decode/Makefile | |
| parent | a31cfa4592977b8ecf2f937fcf870392ce4973e4 (diff) | |
rename util/spkmodem-recv to spkmodem-decode
it's no longer resembling the original util at all,
so a rename seems indicated. yes.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/spkmodem_decode/Makefile')
| -rw-r--r-- | util/spkmodem_decode/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/util/spkmodem_decode/Makefile b/util/spkmodem_decode/Makefile new file mode 100644 index 00000000..b00c4f43 --- /dev/null +++ b/util/spkmodem_decode/Makefile @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: MIT +# SPDX-FileCopyrightText: 2022,2026 Leah Rowe <leah@libreboot.org> +# SPDX-FileCopyrightText: 2023 Riku Viitanen <riku.viitanen@protonmail.com> + +CC?=cc +CFLAGS?=-Os -Wall -Wextra -Werror -pedantic -std=c90 +DESTDIR?= +PREFIX?=/usr/local +INSTALL?=install + +PROG=spkmodem-decode + +all: $(PROG) + +$(PROG): spkmodem-decode.c + $(CC) $(CFLAGS) spkmodem-decode.c -o $(PROG) + +install: $(PROG) + mkdir -p $(DESTDIR)$(PREFIX)/bin/ + install -c $(PROG) $(DESTDIR)$(PREFIX)/bin/ + +uninstall: + rm -f $(DESTDIR)$(PREFIX)/bin/$(PROG) + +clean: + rm -f $(PROG) + +distclean: clean + +.PHONY: all install uninstall clean distclean |
