summaryrefslogtreecommitdiff
path: root/Makefile
blob: 589adaf4064cbf9d8c19bb8dc9223f475ab870cf (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 $(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

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