makefile

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

TXT
36
字号
# ARPACK++ v1.0 8/1/1997# c++ interface to ARPACK code.# examples/harwell/nonsym directory makefile# including other makefiles.include ../../../Makefile.inc# defining cscmat directory.CSCMAT_DIR = $(ARPACKPP_DIR)/examples/matrices/nonsym# compiling and linking all examples.all: hnsymstd hnsymgen# compiling and linking each nonsymmetric problem.hnsymstd:       hnsymstd.o	$(CPP) $(CPP_FLAGS) -I$(CSCMAT_DIR) -o hnsymstd hnsymstd.o $(SUPERLU_LIB) $(ALL_LIBS)hnsymgen:	hnsymgen.o	$(CPP) $(CPP_FLAGS) -I$(CSCMAT_DIR) -o hnsymgen hnsymgen.o $(SUPERLU_LIB) $(ALL_LIBS)# defining cleaning rule..PHONY:	cleanclean:	rm -f *~ *.o core# defining pattern rules.%.o:	%.cc	$(CPP) $(CPP_FLAGS) -I$(CSCMAT_DIR) -I$(SUPERLU_DIR) -c $<

⌨️ 快捷键说明

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