代码拉取完成,页面将自动刷新
# ******************************************************************
# * *
# * File: Makefile *
# * Author: Gaetan Kenway *
# * Starting date: 05-23-2010 *
# * Last modified: 12-23-2012 *
# * *
# ******************************************************************
REAL_SRC = src/modules \
src/IO \
src/utils \
src/warp \
SUBDIR_SRC = src_cs/modules \
src_cs/IO \
src_cs/utils \
src_cs/warp \
WARP_SUBDIRS = $(SUBDIR_SRC_CS)
WARP_CLEAN_SUBDIRS = $(SUBDIR_SRC_CS)
default:
# Check if the config.mk file is in the config dir.
@if [ ! -f "config/config.mk" ]; then \
echo "Before compiling, copy an existing config file from the "; \
echo "config/defaults/ directory to the config/ directory and "; \
echo "rename to config.mk. For example:"; \
echo " ";\
echo " cp config/defaults/config.LINUX_INTEL_OPENMPI.mk config/config.mk"; \
echo " ";\
echo "The modify this config file as required. Typically the CGNS directory "; \
echo "will have to be modified. With the config file specified, rerun "; \
echo "'make' and the build will start"; \
else make -f Makefile_CS warp;\
fi;
dirs:
mkdir -p obj_cs
mkdir -p mod_cs
@for subdir in $(SUBDIR_SRC) ; \
do \
echo "Creating Complex Directory $$subdir"; \
(mkdir -p $$subdir) || exit 1; \
done
clean:
ln -sf Common_CS.mk Common.mk
@echo " Making clean ... "
@for subdir in $(SUBDIR_SRC) ; \
do \
echo "Removing Complex Directory $$subdir"; \
(rm -fr $$subdir) || exit 1; \
done
# (cd src_cs/f2py && make clean)
rm -f *~ config.mk;
rm -f lib_cs/lib* mod_cs/* obj_cs/*
warp:
make -f Makefile_CS dirs
ln -sf config/config.mk config.mk
ln -sf Common_CS.mk Common.mk
@for subdir in $(REAL_SRC) ; \
do \
echo "complexifying $@ in $$subdir"; \
echo; \
(cd $$subdir && make complexify) || exit 1; \
done
@for subdir in $(SUBDIR_SRC) ; \
do \
echo "making $@ in $$subdir"; \
echo; \
(cd $$subdir && make) || exit 1; \
done
(cd lib_cs && make)
(cd src/f2py && make complexify)
(cd src_cs/f2py && make)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。