source-depend.make
上传用户:goto8899
上传日期:2014-01-20
资源大小:303k
文件大小:2k
- ############################################################
- ## Compilation de la librairie CGNS
- LDIR := CGNS
- ####### Files
- CGNS_LIB = $(PRJLIB)/libt_cgns.a
- CGNS_MOD = CGNS_STRUCT.$(MOD)
- CGNSLIB.$(MOD)
- CGNS_OBJ := $(CGNS_MOD:.$(MOD)=.o)
- cgns2typhon.o
- cgns2typhon_zone.o
- cgns2typhon_ustboco.o
- cgns2typhon_ustmesh.o
- createface_fromcgns.o
- readcgns_strboco.o
- readcgns_strconnect.o
- readcgns_ustboco.o
- readcgns_ustconnect.o
- readcgnsbase.o
- readcgnsfile.o
- readcgnsvtex.o
- readcgnszone.o
- seek_bcface_face.o
- seek_bcface_vtex.o
- D_CGNS_OBJ := $(CGNS_OBJ:%=$(PRJOBJ)/%)
- D_CGNS_SRC := $(CGNS_OBJ:%.o=$(LDIR)/%.f90)
- ####### Build rules
- all: $(CGNS_LIB)
- $(CGNS_LIB): $(D_CGNS_OBJ)
- @echo ---------------------------------------------------------------
- @echo * Cr閍tion de la librairie $(CGNS_LIB)
- @touch $(CGNS_LIB) ; rm $(CGNS_LIB)
- @$(AR) ruv $(CGNS_LIB) $(D_CGNS_OBJ)
- @echo * Cr閍tion de l'index de la librairie
- @$(RAN) $(CGNS_LIB)
- @echo ---------------------------------------------------------------
- @echo * LIBRAIRIE $(CGNS_LIB) cr殚e
- @echo ---------------------------------------------------------------
- CGNS_clean:
- -rm $(CGNS_LIB) $(D_CGNS_OBJ) $(CGNS_MOD)
- ####### Dependencies
- CGNS/depends.make: $(D_CGNS_SRC)
- (cd CGNS ; ../$(MAKEDEPENDS))
- include CGNS/depends.make