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

include $(gagadmdir)/Makefile.def

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

LIB_IDENTITY = cubefield

TYPE_OBJECTS = type-pixel.o 

TOOL_OBJECTS = tool-incline.o

COMMAND_OBJECTS = command-divergence.o command-gradient.o		\
command-gradthin.o command-hessian.o command-incline.o command-minmax.o	\
command-observe.o command-sht.o command-rotate.o

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

LIB_EXPORTS = cubefield_language.mod cubefield_messaging.mod

LIB_DEPENDS = -lcubemain $(CUBE_INTERFACE_LIBS) $(CUBE_CORE_LIBS) \
$(GREG_LIBS)

INTERFACES_DISABLE = yes

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

include $(gagadmdir)/Makefile.lib

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

include $(builddir)/Makefile.deps

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