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/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/spkmodem_recv/Makefile b/util/spkmodem_recv/Makefile
index c9659b44eb..92a3bfe930 100644
--- a/util/spkmodem_recv/Makefile
+++ b/util/spkmodem_recv/Makefile
@@ -5,4 +5,5 @@ INSTALL ?= install
spkmodem-recv:
$(CC) -o $@ $@.c
install: spkmodem-recv
- $(INSTALL) $< -t $(PREFIX)/bin/
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin/
+ $(INSTALL) $< -t $(DESTDIR)$(PREFIX)/bin/