diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-04-21 19:11:45 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-04-21 19:11:45 +0100 |
| commit | 48e949263b01e2b22b9ba81dc4eca1d2d1d0266c (patch) | |
| tree | f00f312ef9b3c50e95c8b760388ced6bb60223f3 /util/spkmodem_recv/Makefile | |
| parent | 7b5349e85de026666cd095883307b21e0b7786e2 (diff) | |
switch spkmodem_decode back to spkmodem_recv
this version is more tested. i'll merge _decode back
once it's better tested. it contains a lot of invasive
changes, whereas recv is much closer to the original GNU
code that i inherited, that i also know works quite well.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/spkmodem_recv/Makefile')
| -rw-r--r-- | util/spkmodem_recv/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/util/spkmodem_recv/Makefile b/util/spkmodem_recv/Makefile new file mode 100644 index 00000000..3c5dc51f --- /dev/null +++ b/util/spkmodem_recv/Makefile @@ -0,0 +1,14 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +CC?=cc +CFLAGS?=-Os -Wall -Wextra -Werror -pedantic +DESTDIR?= +PREFIX?=/usr/local +INSTALL?=install + +spkmodem-recv: + $(CC) $(CFLAGS) -o $@ $@.c +install: spkmodem-recv + $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin/ + $(INSTALL) $< -t $(DESTDIR)$(PREFIX)/bin/ +clean: + rm -f spkmodem-recv |
