mirror of
https://codeberg.org/canoeboot/cbmk.git
synced 2024-12-22 07:49:55 +00:00
472aa3589b
Signed-off-by: Leah Rowe <leah@libreboot.org>
13 lines
318 B
Makefile
13 lines
318 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
CC ?= cc
|
|
PREFIX ?= /usr/local
|
|
INSTALL ?= install
|
|
CFLAGS ?= -Os -Wall -Wextra -Werror -pedantic
|
|
|
|
spkmodem-recv:
|
|
$(CC) $(CFLAGS) -o $@ $@.c
|
|
install: spkmodem-recv
|
|
$(INSTALL) -d $(DESTDIR)$(PREFIX)/bin/
|
|
$(INSTALL) $< -t $(DESTDIR)$(PREFIX)/bin/
|
|
clean:
|
|
rm -f spkmodem-recv
|