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

distinguish program and library creation and installation

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: 3696
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent ba050cde
......@@ -43,8 +43,16 @@
# ============================================================================
#
.PHONY: all
all: install
install: refmet librefread.a
PROGRAMS=refmet
LIBRARIES=librefread.a
.PHONY: install
install: $(PROGRAMS) $(LIBRARIES)
/bin/mv -fv $(PROGRAMS) $(LOCBINDIR)
/bin/mv -fv $(LIBRARIES) $(LOCLIBDIR)
#----------------------------------------------------------------------
# standard edit targets
......@@ -108,27 +116,22 @@ refmatsh: main/refmatsh.o $(addprefix sub/, $(REFMETOBS))
matbau: %: main/%.o
$(FC) $< -o $@ -L$(LOCLIBDIR)
/bin/mv -fv $@ $(LOCBINDIR)
grema: %: main/%.o sub/refmet_rrcv.o
$(FC) $(FFLAGS) $^ -o $@ -lrefread -ltf -lsff \
-L$(LOCLIBDIR)
/bin/mv -fv $@ $(LOCBINDIR)
refmatsh refmat resus refmet:
$(FC) $^ -o $@ -lsff -lemod -ltf \
-L$(LOCLIBDIR) $(FFLAGS)
/bin/mv -fv $@ $(LOCBINDIR)
resusnoise:
$(FC) $^ -o $@ -lsff -lemod -ltf -lgsl -lgslcblas \
-L$(LOCLIBDIR) $(FFLAGS)
/bin/mv -fv $@ $(LOCBINDIR)
librefread.a: $(LIBREFMETOBS)
ar rcv librefread.a $(LIBREFMETOBS)
ranlib librefread.a
/bin/mv -fv $@ $(LOCLIBDIR)
# ----- 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