include ../Make_config
TDIST	= euclid
LM	= -lm
include $(SBDIR)Make_drives


test_s	: test_sb$(EXE) test_M$(EXE)

test_sb$(EXE)	: test_sb.o dist.o $(SRCDIR)pool.o rand_gen.o $(SRCDIR)do_test.o $(LIBDIR)$(SBLIB) 
	$(CC) test_sb.o dist.o rand_gen.o $(SRCDIR)pool.o $(SRCDIR)do_test.o -L$(LIBDIR)  -o test_sb -lm $(SBLIBS)
	touch trials	# to make trials, if it's not there already

test_M$(EXE)	: test_M.o dist.o $(SRCDIR)pool.o rand_gen.o $(SRCDIR)do_test.o $(LIBDIR)$(SBLIB)
	$(CC) test_M.o dist.o rand_gen.o $(SRCDIR)pool.o $(SRCDIR)do_test.o -L$(LIBDIR)  -o test_M -lm $(SBLIBS)
	touch trials	# to make trials, if it's not there already


test_sb_run : test_sb$(EXE)
	./test_sb$(EXE) > test_sb_run

test_M_run : test_M$(EXE)
	./test_M$(EXE) > test_M_run
