Set the SYRTHES environment variables for a debian box.
Index: syrthes/bin/Makefile.in
===================================================================
--- syrthes.orig/bin/Makefile.in	2009-07-07 02:07:12.000000000 +0200
+++ syrthes/bin/Makefile.in	2009-07-07 18:25:01.000000000 +0200
@@ -43,10 +43,10 @@
  CC      = /usr/bin/gcc
  CFLAGS  = -O2 -D_FILE_OFFSET_BITS=64 -DHAVE_C_IO 
 # FORTRAN compiler
- FC      = /usr/bin/g77
+ FC      = /usr/bin/gfortran
  FCFLAGS = -O2 -DHAVE_C_IO -D_FILE_OFFSET_BITS=64
 # loader
- LD      = /usr/bin/g77
+ LD      = /usr/bin/gfortran
  LDFLAGS = -O2
 #
 endif
Index: syrthes/bin/Makefile
===================================================================
--- syrthes.orig/bin/Makefile	2009-07-07 02:07:12.000000000 +0200
+++ syrthes/bin/Makefile	2009-07-07 18:25:01.000000000 +0200
@@ -33,6 +33,10 @@
 # Makefile for Syrthes
 ######################
 
+
+NOM_ARCH=Linux
+SYRTHES_HOME=$(shell echo $${SYRTHES_HOME:-"@SYRTHES_HOME@"})
+
 include $(SYRTHES_HOME)/bin/Makefile.in
 
 # Environment Macros
@@ -133,7 +137,7 @@
 	@rm -f *.o
 
 	@if [ ! -d "$(ARCH_SYRTHES)" ] ;\
-	 then mkdir "$(ARCH_SYRTHES)" ;\
+	 then mkdir -p "$(ARCH_SYRTHES)" ;\
 	 fi ;\
 
 	@mv *.a $(ARCH_SYRTHES)
Index: syrthes/bin/syrthes_create_case
===================================================================
--- syrthes.orig/bin/syrthes_create_case	2009-07-07 02:07:12.000000000 +0200
+++ syrthes/bin/syrthes_create_case	2009-07-07 18:26:09.000000000 +0200
@@ -3,6 +3,9 @@
 #                    Creation d'un cas SYRTHES
 #==========================================================================
 
+set -e
+
+SYRTHES_HOME=@SYRTHES_HOME@
 
 echo 
 echo "***************************************** "
