makefile

来自「FreeFem++可以生成高质量的有限元网格。可以用于流体力学」· 代码 · 共 54 行

TXT
54
字号
# Downloading and compiling extra libraries# -----------------------------------------# $Id: Makefile,v 1.8 2008/12/04 20:28:48 hecht Exp $include cxxflags# Downloading and compiling FFTW# ------------------------------# FFTW information#http://www.fftw.org/fftw-3.2.tar.gzSRCDIR=fftw-$(FFTW_VERSION)PACKAGE=fftw-$(FFTW_VERSION).tar.gzSERVER=http://www.fftw.orgPKGDIR=../pkgFFTW_VERSION=3.2INSTALL=../..fftw:FAIT$(WIN32DLLTARGET)FAITwin32-dll-target:	echo "On Pure Win32 (to hard to compile) "FAIT:		$(MAKE) FAIRE	touch FAITFAIRE: $(SRCDIR) 	cd $(SRCDIR) && ./configure --disable-dependency-tracking  --disable-fortran  --prefix=`pwd`/$(INSTALL) CXX="$(CXX)" CC="$(CC)"  CFLAGS="$(CFLAGS)" CPP='gcc -E' CXXFLAGS="$(CXXFLAGS)"	cd $(SRCDIR) && make	cd $(SRCDIR) && make install	touch FAIT$(SRCDIR): $(PKGDIR)/$(PACKAGE)	gunzip -c   $^ | tar xvf - $(PKGDIR)/$(PACKAGE):	cd $(PKGDIR); $(WGET)  $(SERVER)/$(PACKAGE)clean-local:	-rm -rf fftw-* FAIT cxxflags: ../Makefile	grep 'CXX *=' ../Makefile >cxxflags	grep 'CC *=' ../Makefile >>cxxflags	grep 'CXXFLAGS *=' ../Makefile >>cxxflags	grep 'CFLAGS *=' ../Makefile >>cxxflags	grep 'WGET *=' ../Makefile >>cxxflags	grep 'WIN32DLLTARGET *=' ../Makefile >>cxxflags

⌨️ 快捷键说明

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