#
# Matrixtunnel control scripts Makefile
#
# $Id: Makefile,v 1.1.1.1 2004/04/28 07:18:25 tom Exp $
#

CFLAGS	= -s -O2 -Wall


CFLAGS  += -I../matrixssl/  -DLINUX


OBJS		+= matrixtunnel.o  sslSocket.o ../matrixssl/src/libmatrixsslstatic.a

all: matrixtunnel

clean:
	rm -f *.o *~ matrixtunnel
	
matrixtunnel: $(OBJS) 
	$(CC) $(CFLAGS) -o $@ $(OBJS)  $(LDFLAGS) -lpthread 
	$(STRIP) matrixtunnel


install:
	cp matrixtunnel $(RAMDISK_ROOT)/bin
