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

include $(gagadmdir)/Makefile.def

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

EXECUTABLES = classic-demo-write classic-demo-read classic-dump	\
classic-read

LOAD_LIBS = -lclassic $(GREG_LIBS)

### Minimalist link for classic-read if you want to decrease as much as
# possible the dependencies:
#
# EXECUTABLES = classic-read
# LOAD_LIBS = -lclassic -lgio -lgmath -lgsys
# GREG_SYS_LIBS =
# SYS_LIBS =
#
# gfortran flags. Unfortunately they miss a -static-libquadmath...
# LOCAL_FLDFLAGS=-static-libgcc -static-libgfortran
#
# ifort flags. -static-intel does not seem needed...
# LOCAL_FLDFLAGS=-static-libgcc
#
### End of minimalist link

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

include $(gagadmdir)/Makefile.main

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