Improve makefiles.

stopcriterion
Salvatore Filippone 5 years ago
parent 1af482fe33
commit bd819117c3

@ -3,7 +3,7 @@ include Make.inc
all: library all: library
library: libdir mlp library: libdir mlp cbnd
libdir: libdir:
(if test ! -d lib ; then mkdir lib; fi) (if test ! -d lib ; then mkdir lib; fi)
@ -14,7 +14,8 @@ libdir:
mlp: mlp:
cd mlprec && $(MAKE) all cd mlprec && $(MAKE) all
cbnd: mlp
cd cbind && $(MAKE) all
install: all install: all
mkdir -p $(INSTALL_LIBDIR) &&\ mkdir -p $(INSTALL_LIBDIR) &&\
$(INSTALL_DATA) lib/*.a $(INSTALL_LIBDIR) $(INSTALL_DATA) lib/*.a $(INSTALL_LIBDIR)

@ -7,6 +7,7 @@ MODDIR=../modules/
LIBNAME=$(CBINDLIBNAME) LIBNAME=$(CBINDLIBNAME)
LIBNAME=libmld_cbind.a LIBNAME=libmld_cbind.a
all: lib
lib: mlprecd lib: mlprecd
/bin/cp -p $(CPUPDFLAG) $(HERE)/$(LIBNAME) $(LIBDIR) /bin/cp -p $(CPUPDFLAG) $(HERE)/$(LIBNAME) $(LIBDIR)
/bin/cp -p $(CPUPDFLAG) *.h $(INCDIR) /bin/cp -p $(CPUPDFLAG) *.h $(INCDIR)

Loading…
Cancel
Save