summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-10-01 11:34:25 +0200
committerHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-10-01 11:34:25 +0200
commit79153f655b1f8af1df6b36875c2d0b61386b33a9 (patch)
treef5e2b6c8dece9dbc8c7f8edc18e38eb1e67ccfc8 /Makefile
parentd50a913b21b1ceec3bf22915caa87a8a9b44e3d1 (diff)
downloadMAC-Telnet-79153f655b1f8af1df6b36875c2d0b61386b33a9.tar.gz
MAC-Telnet-79153f655b1f8af1df6b36875c2d0b61386b33a9.zip
Added install option to Makefile, and fixed a "typo"
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d48263f..bbfa0de 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,10 @@ clean: dist-clean
dist-clean:
rm -f mactelnet mndp
+install: all
+ cp mndp /usr/bin/
+ cp mactelnet /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