Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /exodus/forbind/test/Makefile.standalone [f4a0b0] .. [c1337a] Maximize Restore

  Switch to side-by-side view

--- a/exodus/forbind/test/Makefile.standalone
+++ b/exodus/forbind/test/Makefile.standalone
@@ -32,16 +32,10 @@
 # 
 
 
-NETCDF = /Users/gdsjaar/src/seacas-nopar
-NETCDF_LIB = -L$(NETCDF)/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz
 NCDUMP = $(NETCDF)/bin/ncdump
 
 # Use libexoIIv2for32.a if not using -fdefault-real-8 -fdefault-integer-8
 LOCALEXO = ../../libexoIIv2for.a ../../libexodus.a
-
-LIBS = $(LOCALEXO) $(NETCDF_LIB)
-FC = /opt/local/bin/gfortran-mp-4.8
-FFLAGS = -I../include  -O -fno-range-check -fcray-pointer
 
 PROGS = testwt testwtd testrd testrd1 testrdd testwt1 testwt2 testwtm testcp testcpnl testcpln testwt_nsid testrd_nsid test_nem
 
@@ -49,98 +43,98 @@
 
 all:: testwt
 testwt::     testwt.o     $(LOCALEXO)
-	$(FC) -o $@ $(LDOPTIONS)     testwt.o   $(LIBPATH) $(LDLIBS)  $(LIBS) $(EXTRA_LOAD_FLAGS)
+	$(FC) -o $@      testwt.o      $(LOCALEXO) $(LDFLAGS) $(EXTRA_LOAD_FLAGS)
 
 clean::
 	$(RM) testwt
 
 all:: testwtd
-testwtd::    testwtd.o    $(LOCALEXO)
-	$(FC) -o $@ $(LDOPTIONS)    testwtd.o   $(LIBPATH) $(LDLIBS)  $(LIBS) $(EXTRA_LOAD_FLAGS)
+testwtd::    testwtd.o    $(LOCALEXO) 
+	$(FC) -o $@     testwtd.o      $(LOCALEXO) $(LDFLAGS) $(EXTRA_LOAD_FLAGS)
 
 clean::
 	$(RM) testwtd
 
 all:: testrd
-testrd::     testrd.o     $(LOCALEXO)
-	$(FC) -o $@ $(LDOPTIONS)     testrd.o   $(LIBPATH) $(LDLIBS)  $(LIBS) $(EXTRA_LOAD_FLAGS)
+testrd::     testrd.o     $(LOCALEXO) 
+	$(FC) -o $@      testrd.o      $(LOCALEXO) $(LDFLAGS) $(EXTRA_LOAD_FLAGS)
 
 clean::
 	$(RM) testrd
 
 all:: testrd1
-testrd1::    testrd1.o    $(LOCALEXO)
-	$(FC) -o $@ $(LDOPTIONS)    testrd1.o   $(LIBPATH) $(LDLIBS)  $(LIBS) $(EXTRA_LOAD_FLAGS)
+testrd1::    testrd1.o    $(LOCALEXO) 
+	$(FC) -o $@     testrd1.o      $(LOCALEXO) $(LDFLAGS) $(EXTRA_LOAD_FLAGS)
 
 clean::
 	$(RM) testrd1
 
 all:: testrdd
-testrdd::    testrdd.o    $(LOCALEXO)
-	$(FC) -o $@ $(LDOPTIONS)    testrdd.o   $(LIBPATH) $(LDLIBS)  $(LIBS) $(EXTRA_LOAD_FLAGS)
+testrdd::    testrdd.o    $(LOCALEXO) 
+	$(FC) -o $@     testrdd.o      $(LOCALEXO) $(LDFLAGS) $(EXTRA_LOAD_FLAGS)
 
 clean::
 	$(RM) testrdd
 
 all:: testwt1
-testwt1::    testwt1.o    $(LOCALEXO)
-	$(FC) -o $@ $(LDOPTIONS)    testwt1.o   $(LIBPATH) $(LDLIBS)  $(LIBS) $(EXTRA_LOAD_FLAGS)
+testwt1::    testwt1.o    $(LOCALEXO) 
+	$(FC) -o $@     testwt1.o      $(LOCALEXO) $(LDFLAGS) $(EXTRA_LOAD_FLAGS)
 
 clean::
 	$(RM) testwt1
 
 all:: testwt2
-testwt2::    testwt2.o    $(LOCALEXO)
-	$(FC) -o $@ $(LDOPTIONS)    testwt2.o   $(LIBPATH) $(LDLIBS)  $(LIBS) $(EXTRA_LOAD_FLAGS)
+testwt2::    testwt2.o    $(LOCALEXO) 
+	$(FC) -o $@     testwt2.o      $(LOCALEXO) $(LDFLAGS) $(EXTRA_LOAD_FLAGS)
 
 clean::
 	$(RM) testwt2
 
 all:: testwtm
-testwtm::    testwtm.o    $(LOCALEXO)
-	$(FC) -o $@ $(LDOPTIONS)    testwtm.o   $(LIBPATH) $(LDLIBS)  $(LIBS) $(EXTRA_LOAD_FLAGS)
+testwtm::    testwtm.o    $(LOCALEXO) 
+	$(FC) -o $@     testwtm.o      $(LOCALEXO) $(LDFLAGS) $(EXTRA_LOAD_FLAGS)
 
 clean::
 	$(RM) testwtm
 
 all:: testcp
-testcp::     testcp.o     $(LOCALEXO)
-	$(FC) -o $@ $(LDOPTIONS)     testcp.o   $(LIBPATH) $(LDLIBS)  $(LIBS) $(EXTRA_LOAD_FLAGS)
+testcp::     testcp.o     $(LOCALEXO) 
+	$(FC) -o $@      testcp.o      $(LOCALEXO) $(LDFLAGS) $(EXTRA_LOAD_FLAGS)
 
 clean::
 	$(RM) testcp
 
 all:: testcpnl
-testcpnl::   testcpnl.o   $(LOCALEXO)
-	$(FC) -o $@ $(LDOPTIONS)   testcpnl.o   $(LIBPATH) $(LDLIBS)  $(LIBS) $(EXTRA_LOAD_FLAGS)
+testcpnl::   testcpnl.o   $(LOCALEXO) 
+	$(FC) -o $@    testcpnl.o      $(LOCALEXO) $(LDFLAGS) $(EXTRA_LOAD_FLAGS)
 
 clean::
 	$(RM) testcpnl
 
 all:: testcpln
-testcpln::   testcpln.o   $(LOCALEXO)
-	$(FC) -o $@ $(LDOPTIONS)   testcpln.o   $(LIBPATH) $(LDLIBS)  $(LIBS) $(EXTRA_LOAD_FLAGS)
+testcpln::   testcpln.o   $(LOCALEXO) 
+	$(FC) -o $@    testcpln.o      $(LOCALEXO) $(LDFLAGS) $(EXTRA_LOAD_FLAGS)
 
 clean::
 	$(RM) testcpln
 
 all:: testwt_nsid
-testwt_nsid::  testwt_nsid.o   $(LOCALEXO)
-	$(FC) -o $@ $(LDOPTIONS)  testwt_nsid.o   $(LIBPATH) $(LDLIBS)  $(LIBS) $(EXTRA_LOAD_FLAGS)
+testwt_nsid::  testwt_nsid.o   $(LOCALEXO) 
+	$(FC) -o $@   testwt_nsid.o      $(LOCALEXO) $(LDFLAGS) $(EXTRA_LOAD_FLAGS)
 
 clean::
 	$(RM) testwt_nsid
 
 all:: testrd_nsid
-testrd_nsid::  testrd_nsid.o   $(LOCALEXO)
-	$(FC) -o $@ $(LDOPTIONS)  testrd_nsid.o   $(LIBPATH) $(LDLIBS)  $(LIBS) $(EXTRA_LOAD_FLAGS)
+testrd_nsid::  testrd_nsid.o   $(LOCALEXO) 
+	$(FC) -o $@   testrd_nsid.o      $(LOCALEXO) $(LDFLAGS) $(EXTRA_LOAD_FLAGS)
 
 clean::
 	$(RM) testrd_nsid
 
 all:: test_nem
-test_nem::   test_nem.o   $(LOCALEXO)
-	$(FC) -o $@ $(LDOPTIONS)   test_nem.o   $(LIBPATH) $(LDLIBS)  $(LIBS) $(EXTRA_LOAD_FLAGS)
+test_nem::   test_nem.o   $(LOCALEXO) 
+	$(FC) -o $@    test_nem.o      $(LOCALEXO) $(LDFLAGS) $(EXTRA_LOAD_FLAGS)
 
 test:  check
 check: $(PROGS)