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

include $(gagadmdir)/Makefile.def

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

LIB_IDENTITY = cubecompute

TEMPLATE_OBJECTS = template-two2one-real.o template-tworeal2onecomplex.o 

TOOL_OBJECTS = tool-fft-visi.o tool-prime-power.o	\
tool-convolve-spectrum.o

OPERATION_OBJECTS = command-convolution-of-cube-with-spectrum.o		\
command-difference.o command-product.o command-ratio.o command-sum.o

COMMAND_OBJECTS = command-amplitude.o command-complex.o command-fft.o	\
command-phase.o

LIB_F_OBJECTS = $(TEMPLATE_OBJECTS) $(TOOL_OBJECTS) $(OPERATION_OBJECTS)	\
$(COMMAND_OBJECTS) command-cumulant.o language.o message.o

LIB_EXPORTS = cubecompute_language.mod cubecompute_messaging.mod

LIB_DEPENDS = -lcubemain -lcubetemplate -lcubeadm -lcubetopology	\
-lcubetuple -lcubedag -lcubeheader -lcubetools $(GREG_LIBS)

INTERFACES_DISABLE = yes

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

include $(gagadmdir)/Makefile.lib

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

include $(builddir)/Makefile.deps

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