summaryrefslogtreecommitdiff
path: root/util/spkmodem_recv/Makefile
blob: 3c1bc0e57d357e8b25ce6aa0ab6ca8ca135d82d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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/