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

invented rules for shared libraries

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/branches/libdatrwxx.su2
SVN Revision: 3520
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 7264b888
......@@ -33,7 +33,7 @@ clean: ;
-/bin/rm -vf flist
#======================================================================
FLAGS += $(MYFLAGS)
FLAGS += $(MYFLAGS) -fPIC
FFLAGS += -ff2c -Wall -ffixed-line-length-0 -fno-backslash $(FLAGS)
CFLAGS += $(FLAGS)
CXXFLAGS+=-Wall $(FLAGS)
......@@ -148,6 +148,10 @@ libaff.a: $(INSTHEADER) $(LIBOBS)
ranlib $@
/bin/mv -vpf $@ $(LIBINSTALLPATH)
libdatrwxx.so: $(patsubst %.cc,%.o,$(LIBSRC))
$(CXX) $(CXXFLAGS) -shared -o $@ $^
/bin/mv -fpv $@ $(LOCLIBDIR)
#======================================================================
# reinstall target
# is necessary in case of header file problems (e.g. remcmmnt not installed)
......
Supports Markdown
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