makefile.am

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

AM
47
字号
# Downloading and compiling extra libraries
# -----------------------------------------

# $Id: Makefile.am,v 1.16 2007/04/18 10:01:44 hecht Exp $

all-local: $(DOWNLOAD_FLTK)

# Downloading and compiling FLTK
# ------------------------------

# FLTK information
SRCDIR=fltk-$(FLTK_VERSION)
PACKAGE=fltk-$(FLTK_VERSION)-source.tar.bz2
SERVER=http://switch.dl.sourceforge.net/sourceforge/fltk
INSTALL=../..

fltk: $(SRCDIR)/FF

# Using system JPEG and PNG lib is a problem under Cygwin
$(SRCDIR)/FFF: $(SRCDIR)
	cd $(SRCDIR) && ./configure --enable-threads --enable-localjpeg	\
		--enable-localpng $(FLTK_CONFIG_PARAM) --disable-gl	\
		@FLTK_XONLY@ --prefix=`pwd`/$(INSTALL) CXX=$(CXX) CC=$(CC)
	touch $(SRCDIR)/FFF
	cd $(SRCDIR); \
	if grep '#define'  config.h|egrep -q "U32|U64" ; then  \
	 echo " fltk conf OK ??? FH ";  \
	else \
	 echo " fltk configure  bug (on windows) ????  add #define U32 unsigned long (bofbof) " ;\
	 echo "#define U32 unsigned long" >> config.h ; \
	 echo "stop the make process ; just redo make to continue " ; \
	 exit 1; \
	 fi

$(SRCDIR)/FF: $(SRCDIR)/FFF
	cd $(SRCDIR) && make
	cd $(SRCDIR) && make install
	touch FF
$(SRCDIR): $(PACKAGE)
	tar xvjf $(PACKAGE)
	touch $(SRCDIR)
$(PACKAGE):
	@WGET@ -N $(SERVER)/$(PACKAGE)

clean-local:
	-rm -r fltk-*

⌨️ 快捷键说明

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