aboutsummaryrefslogtreecommitdiff
path: root/plotlib/examples/Makefile.NT
blob: 5647c431da1119e8fdb5f03802d116999dbeb1f2 (plain)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
#***********************************************************************
#    Module:  Makefile (examples directory)
# 
#    Copyright (C) 1996 Harold Youngren, Mark Drela 
# 
#    This library is free software; you can redistribute it and/or
#    modify it under the terms of the GNU Library General Public
#    License as published by the Free Software Foundation; either
#    version 2 of the License, or (at your option) any later version.
#
#    This library is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#    Library General Public License for more details.
#
#    You should have received a copy of the GNU Library General Public
#    License along with this library; if not, write to the Free
#    Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# 
#    Report problems to:    guppy@maine.com
#                        or drela@mit.edu  
#***********************************************************************



########################################
# makefile for Xplot11 library examples
########################################

PLTLIB  = ..\libPlt.lib 
#PLTLIB = ..\libPltDP.lib 

AR = lib  

#### Link libs 
LINKLIB = gdi32.lib user32.lib 

###================================================
###  Compaq Visual Fortran compiler and flags, install commands
#FC = f77
#CC  = cl
### Defines for C interface
#DEFINE = -DUNDERSCORE -D_CVF
### Uncomment DP to make double-precision version
#DP = /realsize:64
#FFLAGS  = /Oxp $(DP) /threads
#CFLAGS  = $(DEFINE) -MT
#LFLAGS  = /libs:qwin /threads /LINK /NODEFAULTLIB:LIBC.LIB

###================================================
###  Intel Fortran compiler and flags, install commands
FC = ifl.exe
LINK32 = xilink.exe
#
FC = ifl
CC  = cl
### Defines for C interface
#DEFINE = -DUNDERSCORE
# Uncomment DP to make double-precision version
#DP = /4R8
### use flags for processor optimization G5 G6 G7 for PII,PIII,P4
FFLAGS  = /O2 $(DP) /MT /4Yportlib -W0 
CFLAGS  = $(DEFINE) -MT
LFLAGS  = /MT /link /NODEFAULTLIB:LIBC.LIB

###================================================



PROGS = symbols.exe symbolsall.exe \
	squares.exe squaresdoublebuff.exe \
	spectrum.exe cmap2.exe cmap3.exe defmap.exe \
        gridtest.exe zoomtest.exe contest.exe \
        volts.exe volts_old.exe 


examples:  $(PROGS)


test:  $(PROGS)

clean:
	del *.obj
	del $(PROGS)
	del plot*.ps



#Test routines for package

volts.exe: volts.obj 
	$(FC) /Fevolts.exe volts.obj $(PLTLIB) $(LINKLIB) $(LFLAGS)

volts_old.exe: volts_old.obj 
	$(FC) /Fevolts_old.exe volts_old.obj $(PLTLIB) $(LINKLIB) $(LFLAGS)

symbols.exe: symbols.obj 
	$(FC) /Fesymbols.exe symbols.obj $(PLTLIB) $(LINKLIB) $(LFLAGS)

symbolsall.exe: symbolsall.obj 
	$(FC) /Fesymbolsall.exe symbolsall.obj $(PLTLIB) $(LINKLIB) $(LFLAGS)

squares.exe: squares.obj
	$(FC) /Fesquares.exe squares.obj $(PLTLIB) $(LINKLIB) $(LFLAGS)

squares3.exe: squares3.obj
	$(FC) squares3.obj $(PLTLIB) $(LINKLIB) $(LFLAGS)

squaresdoublebuff.exe: squaresdoublebuff.obj
	$(FC) /Fesquaresdoublebuff.exe squaresdoublebuff.obj $(PLTLIB) $(LINKLIB) $(LFLAGS)

spectrum.exe: spectrum.obj 
	$(FC) /Fespectrum.exe spectrum.obj $(PLTLIB) $(LINKLIB) $(LFLAGS)

cmap2.exe: cmap2.obj 
	$(FC) /Fecmap2.exe cmap2.obj $(PLTLIB) $(LINKLIB) $(LFLAGS)

cmap3.exe: cmap3.obj 
	$(FC) /Fecmap3.exe cmap3.obj $(PLTLIB) $(LINKLIB) $(LFLAGS)
 
defmap.exe: defmap.obj
	$(FC) /Fedefmap.exe defmap.obj $(PLTLIB) $(LINKLIB) $(LFLAGS)

gridtest.exe: gridtest.obj 
	$(FC) /Fegridtest.exe gridtest.obj $(PLTLIB) $(LINKLIB) $(LFLAGS)

zoomtest.exe: zoomtest.obj 
	$(FC) /Fezoomtest.exe zoomtest.obj $(PLTLIB) $(LINKLIB) $(LFLAGS)

contest.exe: contest.obj 
	$(FC) /Fecontest.exe contest.obj $(PLTLIB) $(LINKLIB) $(LFLAGS)



volts.obj: volts.f
	$(FC) /c $(FFLAGS) volts.f

volts_old.obj: volts_old.f
	$(FC) /c $(FFLAGS) volts_old.f

symbols.obj: symbols.f
	$(FC) /c $(FFLAGS) symbols.f

symbolsall.obj: symbolsall.f
	$(FC) /c $(FFLAGS) symbolsall.f

squares.obj: squares.f
	$(FC) /c $(FFLAGS) squares.f

squares3.obj: squares3.f
	$(FC) /c $(FFLAGS) squares3.f

squaresdoublebuff.obj: squaresdoublebuff.f
	$(FC) /c $(FFLAGS) squaresdoublebuff.f

spectrum.obj: spectrum.f
	$(FC) /c $(FFLAGS) spectrum.f

cmap2.obj: cmap2.f
	$(FC) /c $(FFLAGS) cmap2.f

cmap3.obj: cmap3.f
	$(FC) /c $(FFLAGS) cmap3.f

defmap.obj: defmap.f
	$(FC) /c $(FFLAGS) defmap.f

gridtest.obj: gridtest.f
	$(FC) /c $(FFLAGS) gridtest.f

zoomtest.obj: zoomtest.f
	$(FC) /c $(FFLAGS) zoomtest.f

contest.obj: contest.f
	$(FC) /c $(FFLAGS) contest.f

#May need to specify these on a brain-dead make system
#.f.obj:	$(FC) /c $(FFLAGS) $<
#.c.obj:	$(CC) /c $(CFLAGS) $<