summaryrefslogtreecommitdiff
path: root/util/spkmodem_recv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/spkmodem_recv/Makefile')
-rw-r--r--util/spkmodem_recv/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/util/spkmodem_recv/Makefile b/util/spkmodem_recv/Makefile
new file mode 100644
index 00000000..92a3bfe9
--- /dev/null
+++ b/util/spkmodem_recv/Makefile
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+PREFIX ?= /usr/local
+INSTALL ?= install
+
+spkmodem-recv:
+ $(CC) -o $@ $@.c
+install: spkmodem-recv
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin/
+ $(INSTALL) $< -t $(DESTDIR)$(PREFIX)/bin/