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

include $(gagadmdir)/Makefile.def

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

LIB_IDENTITY = cubego

TYPE_OBJECTS = type-extrema.o type-index-iterator.o type-sicvar.o

COMMAND_OBJECTS = command-bit.o command-hyperbit.o command-browse.o	\
command-load.o command-oldload.o command-spectrum.o command-show.o	\
command-topology.o command-view.o command-hyperview.o

LIB_F_OBJECTS = $(TYPE_OBJECTS) $(COMMAND_OBJECTS) buffer.o init.o	\
language.o message.o

LIB_EXPORTS = cubego_init.mod cubego_language.mod cubego_messaging.mod	\
cubego_topology.mod

LIB_DEPENDS = -lcubeedit -lcubeset -lcubetemplate -lcubeadm -lcubetopology	\
-lcubeformats $(CUBE_CORE_LIBS) $(GREG_LIBS)

INTERFACES_DISABLE = yes

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

include $(gagadmdir)/Makefile.lib

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

include $(builddir)/Makefile.deps

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