summaryrefslogtreecommitdiff
path: root/Makefile
blob: bbfa0de30336f8288ec2a69e62c2e3ea60c1faf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

all: mactelnet mndp

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

mndp: config.h mndp.c
	gcc -g -o mndp mndp.c