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

distinguish 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: 3698
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent b8c5722b
......@@ -30,7 +30,7 @@ edit: flist; vim $<
.PHONY: clean
clean: ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist
-/bin/rm -vf flist *.o *.d *.a
#======================================================================
FLAGS += $(MYFLAGS) -fPIC
......@@ -146,11 +146,14 @@ LIBOBS=$(patsubst %.cc,%.o,$(SRC))
libaff.a: $(INSTHEADER) $(LIBOBS)
ar rcv $@ $(LIBOBS)
ranlib $@
/bin/mv -vpf $@ $(LIBINSTALLPATH)
libdatrwxx.so: $(patsubst %.cc,%.o,$(LIBSRC))
$(CXX) $(CXXFLAGS) -shared -o $@ $^
/bin/mv -fpv $@ $(LOCLIBDIR)
LIBRARIES=libaff.a libdatrwxx.so
.PHONY: install
install: $(LIBRARIES)
/bin/mv -fv $^ $(LOCLIBDIR)
#======================================================================
# reinstall target
......
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