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