⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 open lattice boltzmann project www.openlb.org
💻
字号:
#  This file is part of the OpenLB library##  Copyright (C) 2007 Mathias Krause#  Address: Wilhelm-Maybach-Str. 24, 68766 Hockenheim, Germany #  E-mail: mathias.j.krause@gmx.de##  This program is free software; you can redistribute it and/or#  modify it under the terms of the GNU General Public License#  as published by the Free Software Foundation; either version 2#  of the License, or (at your option) any later version.##  This program is distributed in the hope that it will be useful,#  but WITHOUT ANY WARRANTY; without even the implied warranty of#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the#  GNU General Public License for more details.##  You should have received a copy of the GNU General Public #  License along with this program; if not, write to the Free #  Software Foundation, Inc., 51 Franklin Street, Fifth Floor,#  Boston, MA  02110-1301, USA.######################################################################################################################################################## DEFINITIONS TO BE CHANGEDROOT    := ../..############################################################################# definitionsinclude $(ROOT)/Makefile.incinclude MakeHeaderOBJECTS := $(foreach file, $($(BUILDTYPE)), $(ROOT)/$(OBJDIR)/$(file).o)DEPS    := $(foreach file, $($(BUILDTYPE)), $(ROOT)/$(DEPENDDIR)/$(file).d)############################################################################# allall : depend compile############################################################################# dependenciesdepend : $(DEPS)$(ROOT)/$(DEPENDDIR)/%.d : %.cpp	@echo Create dependencies for $<	@$(SHELL) -ec '$(CXX) -M $(CXXFLAGS) $(IDIR) $< \                       | sed -e "s!$*\.o!$(ROOT)/$(OBJDIR)\/$*\.o!1" > .tmpfile; \                       cp -f .tmpfile $@;'############################################################################# compilecompile : $(OBJECTS)$(ROOT)/$(OBJDIR)/%.o: %.cpp	@echo Compile $<	$(CXX) $(CXXFLAGS) $(IDIR) -c $< -o $@############################################################################# cleanclean : cleanrub cleanobj cleandepcleanrub: 	@echo Clean rubbish files	@rm -f *~ core .tmpfilecleanobj:	@echo Clean object files	@cd $(ROOT)/$(OBJDIR)	@rm -f $(OBJECTS)cleandep : 	@echo Clean dependencies files	@cd $(ROOT)/$(OBJDIR)	@rm -f $(DEPS)############################################################################# include dependenciesifneq "$(strip $(wildcard $(ROOT)/$(DEPENDDIR)/*.d))" ""   include $(foreach file,$(DEPS),$(file))endif######################################################################################################################################################

⌨️ 快捷键说明

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