source-depend.make
上传用户:goto8899
上传日期:2014-01-20
资源大小:303k
文件大小:2k
- ############################################################
- ## Compilation de la librairie MESH
- LDIR := MESH
- ####### Files
- MESH_LIB = $(PRJLIB)/libt_mesh.a
- MESH_MOD = GEO3D.$(MOD)
- MESHBASE.$(MOD)
- STRMESH.$(MOD)
- TENSOR3.$(MOD)
- USTMESH.$(MOD)
- MESH_OBJ = $(MESH_MOD:.$(MOD)=.o)
- calc_connface.o
- calc_cellvtex.o
- calc_ust_cell.o
- calc_ust_elemvol.o
- calc_ust_midcell.o
- calc_ust_checkface.o
- calc_ust_face.o
- calc_ustmesh.o
- extract_centre.o
- reorder_ustconnect.o
- test_ustmesh.o
- verify_cellvtex.o
- D_MESH_OBJ = $(MESH_OBJ:%=$(PRJOBJ)/%)
- D_MESH_SRC := $(MESH_OBJ:%.o=$(LDIR)/%.f90)
- ####### Build rules
- all: $(MESH_LIB)
- $(MESH_LIB): $(D_MESH_OBJ)
- @echo ---------------------------------------------------------------
- @echo * Cr閍tion de la librairie $(MESH_LIB)
- @touch $(MESH_LIB) ; rm $(MESH_LIB)
- @$(AR) ruv $(MESH_LIB) $(D_MESH_OBJ)
- @echo * Cr閍tion de l'index de la librairie
- @$(RAN) $(MESH_LIB)
- @echo ---------------------------------------------------------------
- @echo * LIBRAIRIE $(MESH_LIB) cr殚e
- @echo ---------------------------------------------------------------
- MESH_clean:
- -rm $(MESH_LIB) $(D_MESH_OBJ) $(MESH_MOD)
- ####### Dependencies
- MESH/depends.make: $(D_MESH_SRC)
- (cd MESH ; ../$(MAKEDEPENDS))
- include MESH/depends.make