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

include $(gagadmdir)/Makefile.def

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

LIB_IDENTITY = cube

# Creates pycube.so (implicit compilation of cube-pyimport.c)
IMPORT_FROM_PYTHON = yes

LIB_C_OBJECTS = cube-sicimport.o

LIB_F_OBJECTS = command-collect.o command-debug.o command-help.o	\
command-question.o language.o message.o package.o

LIB_EXPORTS = cube_debug.mod cubehelp_question.mod	\
cubehelp_language.mod

LIB_DEPENDS = $(CUBE_APPLICATIONS_LIBS) $(CUBE_INTERFACE_LIBS)	\
$(CUBE_CORE_LIBS) -lclassic $(GREG_LIBS)

INTERFACES_DISABLE = yes

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

include $(gagadmdir)/Makefile.lib

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

include $(builddir)/Makefile.deps

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