#
#	Makefile for Mint-Net tools.
#

CC = gcc
CPPFLAGS = -I../include
CFLAGS = -O -mshort -Wall

all: netstat ifconfig route

netstat: netstat.o
	$(CC) $(CFLAGS) $< -o $@ -lsocket16
	chmod +x $@

ifconfig: ifconfig.o
	$(CC) $(CFLAGS) $< -o $@ -lsocket16
	chmod +x $@

route: route.o
	$(CC) $(CFLAGS) $< -o $@ -lsocket16
	chmod +x $@

clean:
	rm -f *.o

# no dependencies yet
depend:
