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

📄 makefile

📁 一个用来实现偏微分方程中网格的计算库
💻
字号:
# ============================================================================# gzstream, C++ iostream classes wrapping the zlib compression library.# Copyright (C) 2001  Deepak Bandyopadhyay, Lutz Kettner# # This library is free software; you can redistribute it and/or# modify it under the terms of the GNU Lesser General Public# License as published by the Free Software Foundation; either# version 2.1 of the License, or (at your option) any later version.# # This library 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# Lesser General Public License for more details.# # You should have received a copy of the GNU Lesser General Public# License along with this library; if not, write to the Free Software# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA# ============================================================================# # File          : Makefile# Revision      : $Revision: 1.9 $# Revision_date : $Date: 2007-09-07 21:55:47 $# Author(s)     : Deepak Bandyopadhyay, Lutz Kettner# # ============================================================================# ----------------------------------------------------------------------------# adapt these settings to your need:# add '-DGZSTREAM_NAMESPACE=name' to CPPFLAGS to place the classes# in its own namespace. Note, this macro needs to be set while creating# the library as well while compiling applications based on it.# As an alternative, gzstream.C and gzstream.h can be edited.# ----------------------------------------------------------------------------# The preceeding text came from the authors of this package.  The# following allows it to link properly with our libraries.include ../../Make.commonINCLUDES = -I.SRC     := $(wildcard *.C)OBJS   	:= $(patsubst %.C, %.$(obj-suffix), $(SRC))library_name := libgzstream## The remaining lines will usually work with any simple# contributed project.  For example sfcurves follows the# same procedure.#target       := $(EXTERNAL_LIBDIR)/$(library_name)$(static_libext)ifeq ($(enable-shared),yes)	  target := $(EXTERNAL_LIBDIR)/$(library_name)$(shared_libext)endififeq ($(enable-gzstream),no)  # Do nothing  all::	@echo "<<< libgzstream is disabled, not building >>>"elseall:: $(target)ifeq ($(findstring darwin,$(hostos)),darwin)$(EXTERNAL_LIBDIR)/$(library_name)$(static_libext): $(OBJS)	@echo "Linking "$@	@$(shell mkdir -p $(EXTERNAL_LIBDIR))	@libtool -static -o $@ $(OBJS)else$(EXTERNAL_LIBDIR)/$(library_name)$(static_libext): $(OBJS)	@echo "Linking "$@	@$(shell mkdir -p $(EXTERNAL_LIBDIR))	@$(AR) rv $@ $(OBJS)endif$(EXTERNAL_LIBDIR)/$(library_name)$(shared_libext): $(OBJS)	@echo "Linking "$@	@$(shell mkdir -p $(EXTERNAL_LIBDIR))	@$(libmesh_CXX) $(libmesh_CXXSHAREDFLAG) -o $@ $(OBJS) $(libmesh_LDFLAGS) -lzendif.PHONY: clean clobber distcleanclean:	@rm -f $(OBJS) *~clobber:	@$(MAKE) clean	@rm -f *.o *.g.o *.pg.o *.sy.o	@rm -f $(EXTERNAL_LIBDIR)/$(library_name).*distclean:	@$(MAKE) clobber	@rm -f ../lib/*/$(library_name).*

⌨️ 快捷键说明

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