--- Makefile.orig	2017-04-27 12:07:15.000000000 +0200
+++ Makefile	2020-07-23 10:57:23.388831089 +0200
@@ -1,5 +1,47 @@
 # Inclusion of system dependent files
-include ../make.sys
+
+# -----------------------------
+#  # compilation rules
+
+.SUFFIXES :
+.SUFFIXES : .o .c .F .f90
+
+.F.o:
+	@rm -f $*.f90
+	(eval $(FPP) $(IFLAGS) $(dopts) $*.F > $*.f90 ) > /dev/null
+	(eval $(FC)  $(FCFLAGS) -c $*.f90 ) > /dev/null
+	@rm -f $*.f90
+
+
+# -----------------------------
+#  # compiler definitions
+
+make             = make
+CC               = mpiicc
+CFLAGS           = -O2 -xHost -ftz -fp-speculation=safe -fp-model source -D_C_US -D_FORTRAN_US $(IFLAGS)
+CPP              = mpiicc -E
+FPP              = fpp -free -P
+CPPFLAGS         =  $(IFLAGS)
+FC               = mpiifort
+MPIF90           = mpiifort
+FCFLAGS          = -nofor_main    $(IFLAGS)
+F77              = mpiifort
+FFLAGS           = -O2 -xHost -ftz -fp-speculation=safe -fp-model source
+LD               = mpiifort
+LDFLAGS          = -nofor_main    $(IFLAGS)
+AR               = ar
+ARFLAGS          = -ru
+RANLIB           = echo
+#RANLIB           = @ranlib@
+
+
+# -----------------------------
+#  # libraries
+
+#
+##LIBS             = $(extlibs_prefix)/$(fc_kind)/$(f90)/lib/libiotk.a
+LIBS             = ./libiotk.a
+IFLAGS           = -I./ -I../ -I../include
 
 info:
 	cd src ; make info
--- src/Makefile.orig	2020-07-23 11:55:21.410994964 +0200
+++ src/Makefile	2020-07-23 11:57:24.072183404 +0200
@@ -129,8 +129,48 @@
 
 # List of used library files
 AUTO_LIBS=$(LIB_IOTK) 
-# Inclusion of system dependent files
-include $(IDEHOME)/make.sys
+# -----------------------------
+#  #  # compilation rules
+
+.SUFFIXES :
+.SUFFIXES : .o .c .F .f90
+
+.F.o:
+	@rm -f $*.f90
+	(eval $(FPP) $(IFLAGS) $(dopts) $*.F > $*.f90 ) > /dev/null
+	(eval $(FC)  $(FCFLAGS) -c $*.f90 ) > /dev/null
+	@rm -f $*.f90
+
+# -----------------------------
+#  #  # compiler definitions
+
+make             = make
+CC               = mpiicc
+CFLAGS           = -O2 -xHost -ftz -fp-speculation=safe -fp-model source -D_C_US -D_FORTRAN_US $(IFLAGS)
+CPP              = mpiicc -E
+FPP              = fpp -free -P
+CPPFLAGS         =  $(IFLAGS)
+FC               = mpiifort
+MPIF90           = mpiifort
+FCFLAGS          = -nofor_main    $(IFLAGS)
+F77              = mpiifort
+FFLAGS           = -O2 -xHost -ftz -fp-speculation=safe -fp-model source
+LD               = mpiifort
+LDFLAGS          = -nofor_main    $(IFLAGS)
+AR               = ar
+ARFLAGS          = -ru
+RANLIB           = echo
+#RANLIB           = @ranlib@
+
+# -----------------------------
+#  #  # libraries
+
+#
+###LIBS             = $(extlibs_prefix)/$(fc_kind)/$(f90)/lib/libiotk.a
+LIBS             = ./libiotk.a
+IFLAGS           = -I./ -I../ -I../include
+
+
 # Macro (re)definitions from OPTIONS file (keyword DEFINITION)
 PRECISION = $(FAUTODBL)
 
