summaryrefslogtreecommitdiff
path: root/util/spkmodem_recv
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-01-03 02:09:55 +0000
committerLeah Rowe <leah@libreboot.org>2025-01-03 02:09:55 +0000
commite63fe256dfc5d0c75235974960412b3ac83e2e3c (patch)
tree5552aceedc5fc2ad2264055a972d6cbc1c00c88c /util/spkmodem_recv
parentefd50ee548b0f8d9d048e822cc54f0f0d3d19185 (diff)
util/spkmodem-recv: More correct Makefile
Set up the DESTDIR variable properly. Otherwise, this is just style changes. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/spkmodem_recv')
-rw-r--r--util/spkmodem_recv/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/util/spkmodem_recv/Makefile b/util/spkmodem_recv/Makefile
index 1bba727c..3c5dc51f 100644
--- a/util/spkmodem_recv/Makefile
+++ b/util/spkmodem_recv/Makefile
@@ -1,8 +1,9 @@
# SPDX-License-Identifier: GPL-2.0-or-later
-CC ?= cc
-PREFIX ?= /usr/local
-INSTALL ?= install
-CFLAGS ?= -Os -Wall -Wextra -Werror -pedantic
+CC?=cc
+CFLAGS?=-Os -Wall -Wextra -Werror -pedantic
+DESTDIR?=
+PREFIX?=/usr/local
+INSTALL?=install
spkmodem-recv:
$(CC) $(CFLAGS) -o $@ $@.c