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:
SVN Revision: 3696
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent ba050cde
......@@ -43,8 +43,16 @@
# ============================================================================
.PHONY: all
all: install
install: refmet librefread.a
.PHONY: install
/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 \
/bin/mv -fv $@ $(LOCBINDIR)
refmatsh refmat resus refmet:
$(FC) $^ -o $@ -lsff -lemod -ltf \
/bin/mv -fv $@ $(LOCBINDIR)
$(FC) $^ -o $@ -lsff -lemod -ltf -lgsl -lgslcblas \
/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