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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
#
# IMakefile for CDL Example tasks.
#
CDEBUGFLAGS = -g
FCFLAGS = -g
CDLDIR = ../
INCLUDES = -I. -I$(CDLDIR)
LOCAL_LDFLAGS = -L$(CDLDIR)
LIBS = -lcdl
# Hack to compile under SunPRO V4 on Solaris
#if defined (SunArchitecture) && OSMajorVersion >= 5 && HasSunC
#if OSMinorVersion <= 5
#if !defined (i386Architecture)
CCOPTIONS = -Xs
EXTRA_LDOPTIONS = -xildoff
#endif
#else
CCOPTIONS =
EXTRA_LDOPTIONS = -xildoff
#endif
#else
#if defined (UltrixArchitecture)
CCOPTIONS = -DULTRIX
#endif
#if defined (OSF1Architecture) && OSMajorVersion >= 4
CCOPTIONS = -DOSF1
#endif
#endif
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()
|