###########################################################################
#
# Makefile system for GILDAS softwares (2003-2016).
#
# Please be careful: element order often matters in makefiles.
#
###########################################################################

include $(gagadmdir)/Makefile.def

###########################################################################

DISTCLEAN = yes

subdirs = atm

ifndef BLAS_PRESENT
  subdirs += blas
else
 ifeq ($(BLAS_PRESENT),no)
  subdirs += blas
 endif
endif
ifndef LAPACK_PRESENT
  subdirs += lapack
else
  ifeq ($(LAPACK_PRESENT),no)
    subdirs += lapack
  endif
endif
ifndef SLATEC_PRESENT
  subdirs += slatec
else
  ifeq ($(SLATEC_PRESENT),no)
   subdirs += slatec
  endif
endif

###########################################################################

include $(gagadmdir)/Makefile.struct

###########################################################################
