summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 92849ad..e3c1fa1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,18 @@
-all: mactelnet mactelnetd mndp
+all: mactelnet macping mactelnetd mndp
clean: dist-clean
dist-clean:
- rm -f mactelnet mactelnetd mndp
+ rm -f mactelnet macping mactelnetd mndp
install: all
cp mndp $(DESTDIR)/usr/bin/
+ cp macping $(DESTDIR)/usr/bin/
cp mactelnet $(DESTDIR)/usr/bin/
cp mactelnetd $(DESTDIR)/usr/sbin/
cp mactelnetd.users $(DESTDIR)/etc/
- chown $(DESTDIR)/etc/mactelnetd.users
+ chown root $(DESTDIR)/etc/mactelnetd.users
chmod 600 $(DESTDIR)/etc/mactelnetd.users
mactelnet: config.h udp.h udp.c mactelnet.c mactelnet.h protocol.c protocol.h console.c console.h devices.c devices.h md5.c md5.h
@@ -22,3 +23,6 @@ mactelnetd: config.h mactelnetd.c udp.h udp.c protocol.c protocol.h devices.c de
mndp: config.h mndp.c protocol.c protocol.h
gcc -Wall -g -o mndp mndp.c protocol.c
+
+macping: config.h macping.c udp.c udp.h devices.c devices.h protocol.c protocol.h
+ gcc -Wall -g -o macping macping.c devices.c udp.c protocol.c