makefile

来自「ARPACK is a collection of Fortran77 subr」· 代码 · 共 54 行

TXT
54
字号
# ARPACK++ v1.0 8/1/1997# c++ interface to ARPACK code.# examples/product/nonsym directory makefile.# including other makefiles.include ../../../Makefile.inc# defining objects.EXMP_INC = $(ARPACKPP_DIR)/examples/matprod EXN_INC  = $(ARPACKPP_DIR)/examples/matprod/nonsym # compiling and linking all examples.all: nsymreg nsymshf nsymgreg nsymgshf nsymgscr nsymgsci svd# compiling and linking each nonsymmetric problem.nsymreg: 	nsymreg.o	$(CPP) $(CPP_FLAGS) -I$(EXMP_INC) -I$(EXN_INC) -o nsymreg nsymreg.o $(ALL_LIBS)nsymshf:	nsymshf.o	$(CPP) $(CPP_FLAGS) -I$(EXMP_INC) -I$(EXN_INC) -o nsymshf nsymshf.o $(ALL_LIBS)nsymgreg:	nsymgreg.o	$(CPP) $(CPP_FLAGS) -I$(EXMP_INC) -I$(EXN_INC) -o nsymgreg nsymgreg.o $(ALL_LIBS)nsymgshf:	nsymgshf.o	$(CPP) $(CPP_FLAGS) -I$(EXMP_INC) -I$(EXN_INC) -o nsymgshf nsymgshf.o $(ALL_LIBS)nsymgscr:	$(COMM_H) nsymgscr.o	$(CPP) $(CPP_FLAGS) -I$(EXMP_INC) -I$(EXN_INC) -o nsymgscr nsymgscr.o $(ALL_LIBS)nsymgsci:	$(COMM_H) nsymgsci.o	$(CPP) $(CPP_FLAGS) -I$(EXMP_INC) -I$(EXN_INC) -o nsymgsci nsymgsci.o $(ALL_LIBS)# compiling and linking svd problems.svd:	svd.o	$(CPP) $(CPP_FLAGS) -I$(EXMP_INC) -I$(EXN_INC) -o svd svd.o $(ALL_LIBS)# defining cleaning rule..PHONY:	cleanclean:	rm -f *~ *.o core# defining pattern rules.%.o:	%.cc	$(CPP) $(CPP_FLAGS) -I$(EXMP_INC) -I$(EXN_INC) -c $<

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?