XCOMM
XCOMM IMakefile for CDL Example tasks.
XCOMM

    CDEBUGFLAGS = -g
        FCFLAGS = -g
         CDLDIR = ../
       INCLUDES = -I. -I$(CDLDIR)
  LOCAL_LDFLAGS = -L$(CDLDIR)
           LIBS =  -lcdl


#if defined (SunArchitecture)  &&  OSMajorVersion >= 5
# Hack to compile under SunPRO V4 on Solaris
      CCOPTIONS = -Xs
EXTRA_LDOPTIONS = -xildoff
EXTRA_LIBRARIES = -lnsl -lsocket
#else
#if defined (UltrixArchitecture)
        CCOPTIONS = -DULTRIX
#endif
#if defined (OSF1Architecture) && OSMajorVersion >= 4
        CCOPTIONS = -DOSF1
#endif
#endif

AllTarget(display mosaic tvmark fdisplay ftvmark)

NormalFortranObjectRule()

NormalProgramTarget(display,display.o,../libcdl.a,$(LIBS),-lm)
NormalProgramTarget(mosaic,mosaic.o,../libcdl.a,$(LIBS),-lm)
NormalProgramTarget(tvmark,tvmark.o,../libcdl.a,$(LIBS),-lm)

fdisplay: fdisplay.o ../libcdl.a
	f77 -o fdisplay fdisplay.o ../libcdl.a -lm $(LDLIBS)

ftvmark: ftvmark.o ../libcdl.a
	f77 -o ftvmark ftvmark.o ../libcdl.a -lm $(LDLIBS)

clean::
	$(RM) fdisplay ftvmark

DependTarget()
LintTarget()
