aboutsummaryrefslogtreecommitdiff
path: root/plotlib/examples/Makefile
blob: 8d37dda9c787338406d6bcb0c7fdba59cc4f744e (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
#***********************************************************************
#    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
########################################


###================================================
### This line includes your compiler/make options
### with definitions for compiler and flags

include ../config.make

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

LIB  = ../$(PLTLIB)

#FC = ifort
#FFLAGS = -r8

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


examples:  $(PROGS)


test:  $(PROGS)

clean:
	-/bin/rm *.o
	-/bin/rm $(PROGS)
	-/bin/rm plot*.ps



#Test routines for package

volts: volts.o 
	$(FC) -o volts volts.o $(LIB) $(LINKLIB)

volts_old: volts_old.o 
	$(FC) -o volts_old volts_old.o $(LIB) $(LINKLIB)

symbols: symbols.o 
	$(FC) -o symbols symbols.o $(LIB) $(LINKLIB)

symbolsall: symbolsall.o 
	$(FC) -o symbolsall symbolsall.o $(LIB) $(LINKLIB)

squares: squares.o
	$(FC) -o squares squares.o $(LIB) $(LINKLIB)

squaresdoublebuff: squaresdoublebuff.o
	$(FC) -o squaresdoublebuff squaresdoublebuff.o $(LIB) $(LINKLIB)

spectrum: spectrum.o 
	$(FC) -o spectrum spectrum.o $(LIB) $(LINKLIB)

cmap2: cmap2.o 
	$(FC) -o cmap2 cmap2.o $(LIB) $(LINKLIB)

cmap3: cmap3.o 
	$(FC) -o cmap3 cmap3.o $(LIB) $(LINKLIB)
 
defmap: defmap.o
	$(FC) -o defmap defmap.o $(LIB) $(LINKLIB)

gridtest: gridtest.o 
	$(FC) -o gridtest gridtest.o $(LIB) $(LINKLIB)

zoomtest: zoomtest.o 
	$(FC) -o zoomtest zoomtest.o $(LIB) $(LINKLIB)

contest: contest.o 
	$(FC) -o contest contest.o $(LIB) $(LINKLIB)



volts.o: volts.f
	$(FC) -c $(FFLAGS) $<

volts_old.o: volts_old.f
	$(FC) -c $(FFLAGS) $<

symbols.o: symbols.f
	$(FC) -c $(FFLAGS) $<

symbolsall.o: symbolsall.f
	$(FC) -c $(FFLAGS) $<

squares.o: squares.f
	$(FC) -c $(FFLAGS) $<

squaresdoublebuff.o: squaresdoublebuff.f
	$(FC) -c $(FFLAGS) $<

spectrum.o: spectrum.f
	$(FC) -c $(FFLAGS) $<

cmap2.o: cmap2.f
	$(FC) -c $(FFLAGS) $<

cmap3.o: cmap3.f
	$(FC) -c $(FFLAGS) $<

defmap.o: defmap.f
	$(FC) -c $(FFLAGS) $<

gridtest.o: gridtest.f
	$(FC) -c $(FFLAGS) $<

zoomtest.o: zoomtest.f
	$(FC) -c $(FFLAGS) $<

contest.o: contest.f
	$(FC) -c $(FFLAGS) $<

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