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

include $(gagadmdir)/Makefile.def

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

subdirs = lib main tasks/lib tasks doc demo pro
ifeq ($(GAG_COMPILER_FKIND),ifort)
  ifeq ($(GAG_USE_OPENMP),yes)
    subdirs =
  endif
endif

ifeq ($(CFITSIO_PRESENT),no)
  # MAPPING depends on CUBE, CUBE depends on CFITSIO
  subdirs =
endif

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

include $(gagadmdir)/Makefile.struct

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