summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bbfa0de..589adaf 100644
--- a/Makefile
+++ b/Makefile
@@ -7,8 +7,8 @@ dist-clean:
rm -f mactelnet mndp
install: all
- cp mndp /usr/bin/
- cp mactelnet /usr/sbin/
+ cp mndp $(DESTDIR)/usr/bin/
+ cp mactelnet $(DESTDIR)/usr/sbin/
mactelnet: config.h main.c udp.h udp.c mactelnet.c mactelnet.h console.c console.h devices.c devices.h
gcc -g -o mactelnet -lcrypto main.c udp.c mactelnet.c console.c devices.c