From 038227dd2a95406a3bcb7bc84336c1f2e7d09330 Mon Sep 17 00:00:00 2001 From: asami Date: Sat, 11 Jan 1997 11:38:43 +0000 Subject: 2-D FEM solving package. Closes PR ports/2290. Submitted by: pgiffuni@FPS.biblos.unal.edu.co --- math/freefem/files/patch-aa | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 math/freefem/files/patch-aa (limited to 'math/freefem/files') diff --git a/math/freefem/files/patch-aa b/math/freefem/files/patch-aa new file mode 100644 index 000000000000..1058b9a9757a --- /dev/null +++ b/math/freefem/files/patch-aa @@ -0,0 +1,42 @@ +*** makefile.x.orig Wed Jan 24 08:37:09 1996 +--- makefile.x Tue Dec 24 14:46:59 1996 +*************** +*** 26,35 **** + # + # the following preprocessing options are available + # ADAPT : to enable mesh adaptation +! export CXXFLAGS = -g -DADAPT + #export CXXFLAGS = -g +! export CXXINC = -I./ -Iadapt/ -I/usr/local/X11R5/include +! export CXXLIBS = -Ladapt/ -ladapt -L/usr/local/X11R5/lib -lX11 -lm + #export CXXLIBS = -L/usr/local/X11R5/lib -lX11 -lm + + +--- 26,35 ---- + # + # the following preprocessing options are available + # ADAPT : to enable mesh adaptation +! export CXXFLAGS = -O $(CFLAGS) -DADAPT + #export CXXFLAGS = -g +! export CXXINC = -I./ -Iadapt/ -I$(X11BASE)/include +! export CXXLIBS = -Ladapt/ -ladapt -L$(X11BASE)/lib -lX11 -lm + #export CXXLIBS = -L/usr/local/X11R5/lib -lX11 -lm + + +*************** +*** 48,54 **** + $(CXX) $(CXXFLAGS) $(CXXINC) -c $< + + libadapt: +! cd adapt;make -f makefile.x;cd .. + + purify: freefem + purify $(CXX) -o freefem.pure $(OBJS) $(CXXLIBS) +--- 48,54 ---- + $(CXX) $(CXXFLAGS) $(CXXINC) -c $< + + libadapt: +! cd adapt;$(MAKE) -f makefile.x;cd .. + + purify: freefem + purify $(CXX) -o freefem.pure $(OBJS) $(CXXLIBS) -- cgit