#     TorTA: Perform traffic analysis experiments on Tor
#
#     Copyright (C) 2005 Steven J. Murdoch <http://www.cl.cam.ac.uk/users/sjm217/>
#
#     This program is free software; you can redistribute it and/or modify
#     it under the terms of the GNU General Public License as published by
#     the Free Software Foundation; either version 2 of the License, or
#     (at your option) any later version.
#
#     This program is distributed in the hope that it will be useful,
#     but WITHOUT ANY WARRANTY; without even the implied warranty of
#     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#     GNU General Public License for more details.
#
#     You should have received a copy of the GNU General Public License
#     along with this program; if not, write to the Free Software
#     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
#     $Id: Makefile 1189 2005-08-10 22:29:08Z sjm217 $

.PHONY: all clean release

CC=gcc -g -Wall
TARGETS=victim evil-server receiver sender
RELEASE=victim.c evil-server.c receiver.c sender.c Makefile README COPYING

all: $(TARGETS)

clean:
	rm -f $(TARGETS) *~ torta-0.01.tar.gz

release: torta-0.01.tar.gz

torta-0.01.tar.gz: $(RELEASE)
	mkdir torta-0.01
	cp $(RELEASE) torta-0.01
	tar -czvf $@ torta-0.01
	rm -fr torta-0.01

victim: victim.c
	$(CC) -o $@ $<

evil-server: evil-server.c
	$(CC) -o $@ $<

receiver: receiver.c
	$(CC) -o $@ $<

sender: sender.c
	$(CC) -o $@ $<



