SCM

SCM Repository

[matrix] View of /branches/Matrix-mer2/src/Makefile
ViewVC logotype

View of /branches/Matrix-mer2/src/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 448 - (download) (annotate)
Fri Jan 21 21:59:45 2005 UTC (15 years, 2 months ago) by bates
Original Path: pkg/src/Makefile
File size: 549 byte(s)
Release 0.8-23
#
pkg = Matrix

PKG_CFLAGS = -I./Metis
PKG_LIBS = ${LAPACK_LIBS} ${BLAS_LIBS}
include SOURCES_C.mkf
OBJECTS = $(SOURCES_C:.c=.o)
SHLIB = $(pkg)$(SHLIB_EXT)
SUBDIRS = Metis
SUBLIBS = $(SUBDIRS:=.a)

$(SHLIB): $(OBJECTS) $(SUBLIBS)
	$(SHLIB_LINK) -o $@ $(OBJECTS) $(SUBLIBS) $(ALL_LIBS)

all: $(SHLIB)

mostlyclean: clean

$(SUBLIBS): 
	@for d in $(SUBDIRS); do \
	  (cd $${d} && $(MAKE) lib) || exit 1; \
	done

clean:
	@-rm -rf .libs _libs
	@-rm -f *.o
	@for d in $(SUBDIRS); do \
	  (cd $${d} && $(MAKE) clean) || exit 1; \
	done

include DEPS.mkf

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge