[c1337a]: exodus / cbind / test / Makefile.standalone Maximize Restore History

Download this file

Makefile.standalone    177 lines (131 with data), 6.4 kB

  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
# Copyright (c) 2005 Sandia Corporation. Under the terms of Contract
# DE-AC04-94AL85000 with Sandia Corporation, the U.S. Governement
# retains certain rights in this software.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
#
# * Neither the name of Sandia Corporation nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
NETCDF = /Users/gdsjaar/src/seacas-nopar
LDFLAGS = -L$(NETCDF)/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz
CFLAGS = -I../include -I$(NETCDF)/include
EXOIITEST = -L../.. -lexodus
LOCALEXO = ../../libexodus.a
LIBS = $(EXOIITEST)
NCDUMP = $(NETCDF)/bin/ncdump
PROGS = testwt testwtd testrd testrd1 testrdd testwt1 testwt2 testwtm \
testwt_ss testwt_nossnsdf testrd_ss testrdwt testcp testcpd \
testwt_clb testwt_nc testrd_nc testwt-zeroe testwt-zeron \
testwt-one-attrib create_mesh rd_wt_mesh testcef test_nemesis \
testref testwt-nsided testrd-nsided testwt-nfaced testrd-nfaced \
testwt-long-name testrd-long-name testcp_nl testcp_ln
all:: check
testcp_nl : testcp_nl.o $(LOCALEXO)
$(RM) $@
$(CC) $(CFLAGS) -o $@ testcp_nl.o $(LIBS) $(LDFLAGS)
testcp_ln : testcp_ln.o $(LOCALEXO)
$(RM) $@
$(CC) $(CFLAGS) -o $@ testcp_ln.o $(LIBS) $(LDFLAGS)
testwt: testwt.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testwt.o $(LIBS) $(LDFLAGS)
testwt_clb: testwt_clb.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testwt_clb.o $(LIBS) $(LDFLAGS)
testwtd: testwtd.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testwtd.o $(LIBS) $(LDFLAGS)
testrd: testrd.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testrd.o $(LIBS) $(LDFLAGS)
testrd1: testrd1.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testrd1.o $(LIBS) $(LDFLAGS)
testrdd: testrdd.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testrdd.o $(LIBS) $(LDFLAGS)
testwt1: testwt1.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testwt1.o $(LIBS) $(LDFLAGS)
testwt2: testwt2.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testwt2.o $(LIBS) $(LDFLAGS)
testwtm: testwtm.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testwtm.o $(LIBS) $(LDFLAGS)
testwt_ss: testwt_ss.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testwt_ss.o $(LIBS) $(LDFLAGS)
testwt_nossnsdf: testwt_nossnsdf.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testwt_nossnsdf.o $(LIBS) $(LDFLAGS)
testrd_ss: testrd_ss.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testrd_ss.o $(LIBS) $(LDFLAGS)
testrdwt: testrdwt.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testrdwt.o $(LIBS) $(LDFLAGS)
testcp: testcp.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testcp.o $(LIBS) $(LDFLAGS)
testcpd: testcpd.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testcpd.o $(LIBS) $(LDFLAGS)
testwt_nc: testwt_nc.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testwt_nc.o $(LIBS) $(LDFLAGS)
testrd_nc: testrd_nc.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testrd_nc.o $(LIBS) $(LDFLAGS)
testwt-zeroe: testwt-zeroe.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testwt-zeroe.o $(LIBS) $(LDFLAGS)
testwt-zeron: testwt-zeron.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testwt-zeron.o $(LIBS) $(LDFLAGS)
testwt-one-attrib: testwt-one-attrib.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testwt-one-attrib.o $(LIBS) $(LDFLAGS)
testwt-nsided: testwt-nsided.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testwt-nsided.o $(LIBS) $(LDFLAGS)
testrd-nsided: testrd-nsided.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testrd-nsided.o $(LIBS) $(LDFLAGS)
testwt-nfaced: testwt-nfaced.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testwt-nfaced.o $(LIBS) $(LDFLAGS)
testrd-nfaced: testrd-nfaced.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testrd-nfaced.o $(LIBS) $(LDFLAGS)
testrd-long-name: testrd-long-name.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testrd-long-name.o $(LIBS) $(LDFLAGS)
testwt-long-name: testwt-long-name.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ testwt-long-name.o $(LIBS) $(LDFLAGS)
create_mesh: create_mesh.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ create_mesh.o $(LIBS) $(LDFLAGS)
test_nemesis: test_nemesis.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ test_nemesis.o $(LIBS) $(LDFLAGS)
rd_wt_mesh: rd_wt_mesh.o $(LOCALEXO)
$(CC) $(CFLAGS) -o $@ rd_wt_mesh.o $(LIBS) $(LDFLAGS)
testcef: CreateEdgeFace.c $(LOCALEXO)
$(CC) $(CFLAGS) -DCreateEdgeFace=main -o $@ CreateEdgeFace.c $(LIBS) $(LDFLAGS)
testref: ReadEdgeFace.c $(LOCALEXO)
$(CC) $(CFLAGS) -DReadEdgeFace=main -o $@ ReadEdgeFace.c $(LIBS) $(LDFLAGS)
test: check
check: $(PROGS)
csh ./testall.standalone $(NCDUMP)
clean::
rm -f *.res $(PROGS)
clean::
rm -f *.exo
clean::
rm -f test.output
clean::
rm -f *.CKP *.ln *.BAK *.bak *.o *.M *.mod core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"*
# ----------------------------------------------------------------------
.SUFFIXES: .c
.c.o:
$(CC) -c $(INCLUDES) $(CFLAGS) $*.c
# ----------------------------------------------------------------------
# dependencies generated by makedepend or sfmakedepend