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>
20241206_branch
Leah Rowe 2025-01-03 02:09:55 +00:00
parent efd50ee548
commit e63fe256df
1 changed files with 5 additions and 4 deletions

View File

@ -1,8 +1,9 @@
# SPDX-License-Identifier: GPL-2.0-or-later # SPDX-License-Identifier: GPL-2.0-or-later
CC ?= cc CC?=cc
PREFIX ?= /usr/local CFLAGS?=-Os -Wall -Wextra -Werror -pedantic
INSTALL ?= install DESTDIR?=
CFLAGS ?= -Os -Wall -Wextra -Werror -pedantic PREFIX?=/usr/local
INSTALL?=install
spkmodem-recv: spkmodem-recv:
$(CC) $(CFLAGS) -o $@ $@.c $(CC) $(CFLAGS) -o $@ $@.c