lbmk/util/spkmodem_recv/Makefile

12 lines
290 B
Makefile
Raw Normal View History

# 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/