aboutsummaryrefslogtreecommitdiff
path: root/vendor/x11iraf/cdl/examples/Imakefile
blob: ef6c3d9728f32a79639170fb834297b6aae79bb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
#  IMakefile for CDL Example tasks.
# 

X11IRAFDIR = ../../
#include <../../X11IRAF.tmpl>


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


AllTarget(animate display mosaic tvmark fdisplay ftvmark)

NormalFortranObjectRule()

NormalProgramTarget(animate,animate.o,../libcdl.a,$(LIBS),-lm)
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()