Commit 28355054 authored by uqchw's avatar uqchw Committed by thomas.forbriger
Browse files

added LDFLAGS and package rules

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 5434
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 3bffecb6
......@@ -50,7 +50,7 @@ LINLIB=-lblas -llapack
PGPLOTLIB=$(TF_LINK_PGPLOT)
CFLAGS= -I${LOCINCLUDEDIR}
FFLAGS += -ff2c -Wall -ffixed-line-length-0 -fno-backslash $(FLAGS)
LDFLAGS=$(addprefix -L,$(LOCLIBDIR) $(subst :, ,$(SERVERLIBDIR)))
#----------------------------------------------------------------------
.PHONY: clean edit
......@@ -98,13 +98,37 @@ fidase: $(FIDAOBS)
$(FC) -o $@ $^ \
-ltf -lts -lsffu -ltime_trad -lsff \
$(PGPLOTLIB) $(LINLIB) \
-L$(LOCLIBDIR)
$(LDFLAGS) -L$(LOCLIBDIR)
fidasex: $(FIDAOBS)
$(FC) -o $@ $^ \
-ltf -lts -lsffu -ltime_trad \
-lfapidxx -ldatrwxx -lsffxx -lgsexx -ltime++ -laff \
$(PGPLOTLIB) $(LINLIB) -lstdc++\
-L$(LOCLIBDIR)
$(LDFLAGS) -L$(LOCLIBDIR)
#
#======================================================================
# create package
# --------------
# is delegated to Makefile.packages
ifdef TF_MAKEPKG
.PHONY: package
package: $(TF_MAKEPKG)
$(MAKE) -f $< \
PACKAGE=fidase \
PACKAGEEXPORT="trunk/src/ts/fidase:src" \
PACKAGETARGETS="src:all" \
PACKAGELIBS="-"
.PHONY: fullpackage
fullpackage: $(TF_MAKEPKG)
$(MAKE) -f $< \
PACKAGE=fidasewithlibs \
PACKAGEEXPORT="trunk/src/ts/fidase:src" \
PACKAGETARGETS="src:all" \
PACKAGELIBS="libsff libts libtf libsffu libaff libtime libgsexx libsffxx libdatrwxx libfapidxx"
endif
#
# ----- END OF Makefile -----
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment