makefile [SRC] [CPP] [JOB] [SCAN]
TOOLS / AVBP2PRISSMA



   1 | include $(AVBP_HOME)/HOST/$(AVBP_HOSTTYPE)/INCLUDES/makefile.h
   2 | 
   3 | TOOL=avbp2prissma
   4 | TOOLD=$(DOMHOME)/TOOLS/AVBP2PRISSMA
   5 | GENERIC=$(AVBP_HOME)/TOOLS/GENERIC
   6 | HDF5DIR=$(GENERIC)/SRC_HDF5
   7 | EXEDIR=$(AVBP_HOME)/HOST/$(AVBP_HOSTTYPE)/TOOLEXEC
   8 | 
   9 | OBJ = \
  10 |         $(GENERIC)/avbp_premix.o \
  11 |         $(GENERIC)/avbp_ifp.o \
  12 |         $(GENERIC)/avbp_solution.o \
  13 |         $(GENERIC)/avbp_mesh.o \
  14 |         $(GENERIC)/avbp_coor.o \
  15 |         $(GENERIC)/avbp_conn.o \
  16 |         $(GENERIC)/avbp_inBound.o \
  17 |         $(GENERIC)/avbp_exBound.o \
  18 |         $(GENERIC)/avbp_asciiBound.o \
  19 |         $(GENERIC)/avbp_ms.o \
  20 |         $(GENERIC)/avbp_species.o \
  21 |         $(GENERIC)/avbp_thermo.o
  22 | 
  23 | HDF5_SRC=$(wildcard $(HDF5DIR)/*.F)
  24 | HDF5_OBJ=$(HDF5_SRC:.F=.o)
  25 | 
  26 | 
  27 | $(EXEDIR)/$(TOOL).e_$(AVBP_HOSTTYPE): $(TOOLD)/$(TOOL).f
  28 | 	@echo
  29 | 	@echo "****************************************"
  30 | 	@echo "Compiling...."
  31 | 	@$(FTOOLS) $(OPT)$(GENERIC) $(FTOOLSFLAGS) -o $@ $(OBJ) $(HDF5_OBJ) $(TOOL).f $(HDF5LIB)/libhdf5_fortran.a $(HDF5LIB)/libhdf5.a $(SZLIB) $(HDF5L)
  32 | 	@echo
  33 | 	@echo "Removing objects...."
  34 | 	@\rm -f $(TOOL).o
  35 | 	@echo
  36 | 	@echo "Executable created: "
  37 | 	@echo $(EXEDIR)/$(TOOL).e_$(AVBP_HOSTTYPE)
  38 | 	@echo "****************************************"
  39 | 	@echo
  40 | 
  41 | clean:
  42 | 	@\rm -f $(TOOL).o
  43 | 	@\rm -f $(EXEDIR)/$(TOOL).e*