source-depend.make
上传用户:goto8899
上传日期:2014-01-20
资源大小:303k
文件大小:1k
- ############################################################
- ## Compilation de la librairie MATH
- LDIR = MATH
- ####### Files
- MATH_LIB = $(PRJLIB)/libt_math.a
- MATH_MOD = INTEGRATION.$(MOD)
- INTERPOL.$(MOD)
- MATH.$(MOD)
- SPARSE_MAT.$(MOD)
- MATH_OBJ = $(MATH_MOD:.$(MOD)=.o)
- dlu_jacobi.o
- dlu_lu.o
- D_MATH_OBJ = $(MATH_OBJ:%=$(PRJOBJ)/%)
- D_MATH_SRC = $(MATH_OBJ:%.o=$(LDIR)/%.f90)
- ####### Build rules
- all: $(MATH_LIB)
- $(MATH_LIB): $(D_MATH_OBJ)
- @echo ---------------------------------------------------------------
- @echo * Cr閍tion de la librairie $(MATH_LIB)
- @touch $(MATH_LIB) ; rm $(MATH_LIB)
- @$(AR) ruv $(MATH_LIB) $(D_MATH_OBJ)
- @echo * Cr閍tion de l'index de la librairie
- @$(RAN) $(MATH_LIB)
- @echo ---------------------------------------------------------------
- @echo * LIBRAIRIE $(MATH_LIB) cr殚e
- @echo ---------------------------------------------------------------
- MATH_clean:
- -rm $(MATH_LIB) $(D_MATH_OBJ) $(MATH_MOD)
- ####### Dependencies
- MATH/depends.make: $(D_MATH_SRC)
- (cd MATH ; ../$(MAKEDEPENDS))
- include MATH/depends.make