Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
1cd6d18e
Commit
1cd6d18e
authored
23 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
new default make target
parent
e5aefdc4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+48
-28
48 additions, 28 deletions
Makefile
README
+12
-1
12 additions, 1 deletion
README
with
60 additions
and
29 deletions
Makefile
+
48
−
28
View file @
1cd6d18e
# $Id: Makefile,v 1.21
4
2002-05-18 1
6
:4
0:46
geuzaine Exp $
# $Id: Makefile,v 1.21
5
2002-05-18 1
8
:4
5:51
geuzaine Exp $
GMSH_MAJOR_VERSION
=
1
GMSH_MAJOR_VERSION
=
1
GMSH_MINOR_VERSION
=
35
GMSH_MINOR_VERSION
=
35
...
@@ -42,11 +42,27 @@ GMSH_SOURCES = `find . \( ! -name "*.tar*" -a ! -name "*.tgz" \
...
@@ -42,11 +42,27 @@ GMSH_SOURCES = `find . \( ! -name "*.tar*" -a ! -name "*.tgz" \
-a
!
-name
"gmsh"
-a
!
-name
"gmsh-*"
\
-a
!
-name
"gmsh"
-a
!
-name
"gmsh-*"
\
-a
!
-type
d
\)
`
-a
!
-type
d
\)
`
default
:
@
echo
"Type one of the following:"
@
echo
" make aix for IBM RS/6000 with AIX"
@
echo
" make cygwin for Win95/NT using Cygnus-Win32"
@
echo
" make gcc for a generic system with GCC"
@
echo
" make hpux for HP systems with HPUX 9.x/10.x using GCC"
@
echo
" make irix for SGI systems with IRIX"
@
echo
" make linux for Linux systems"
@
echo
" make macosx for Macintosh with Mac OS X and GCC"
@
echo
" make osf1 for DEC Alpha systems with OSF/1"
@
echo
" make sunos for Suns with SunOS"
@
echo
" make clean remove .o files and libraries"
@
echo
"You need fltk (http://www.fltk.org) version 1.1.x installed"
@
echo
"in
$(
HOME
)
/SOURCES/fltk-1.1/."
@
echo
"If you system is not listed above, edit the Makefile."
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# Rules for developers
# Rules for developers
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
default
:
initialtag
compile
:
initialtag
@
for
i
in
$(
GMSH_FLTK_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
@
for
i
in
$(
GMSH_FLTK_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
"CXX=
$(
CXX
)
"
\
"CXX=
$(
CXX
)
"
\
"CC=
$(
CC
)
"
\
"CC=
$(
CC
)
"
\
...
@@ -57,11 +73,15 @@ default: initialtag
...
@@ -57,11 +73,15 @@ default: initialtag
"GUI_INCLUDE=-I
$(
HOME
)
/SOURCES/fltk-1.1"
\
"GUI_INCLUDE=-I
$(
HOME
)
/SOURCES/fltk-1.1"
\
)
;
done
)
;
done
link
:
gmsh
gmsh
:
gmsh
:
$(
CXX
)
$(
FLAGS
)
-o
$(
GMSH_BIN_DIR
)
/gmsh
$(
GMSH_FLTK_LIB
)
\
$(
CXX
)
$(
FLAGS
)
-o
$(
GMSH_BIN_DIR
)
/gmsh
$(
GMSH_FLTK_LIB
)
\
-L
$(
HOME
)
/SOURCES/fltk-1.1/lib
-lfltk_gl
-lGLU
-lGL
-lfltk
\
-L
$(
HOME
)
/SOURCES/fltk-1.1/lib
-lfltk_gl
-lGLU
-lGL
-lfltk
\
-L
/usr/X11R6/lib
-lX11
-lm
-L
/usr/X11R6/lib
-lX11
-lm
gcc
:
compile link
static
:
static
:
@
for
i
in
$(
GMSH_FLTK_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
@
for
i
in
$(
GMSH_FLTK_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
"CXX=
$(
CXX
)
"
\
"CXX=
$(
CXX
)
"
\
...
@@ -383,9 +403,9 @@ link-linux-scorec:
...
@@ -383,9 +403,9 @@ link-linux-scorec:
linux-scorec
:
compile-linux-scorec link-linux-scorec
linux-scorec
:
compile-linux-scorec link-linux-scorec
#
#
# Digital (Compaq) Tru64
# Digital (Compaq)
OSF1/Digital Unix/
Tru64
#
#
compile-
dec
:
initialtag
compile-
osf1
:
initialtag
@
for
i
in
$(
GMSH_FLTK_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
@
for
i
in
$(
GMSH_FLTK_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
"CXX=
$(
CXX
)
"
\
"CXX=
$(
CXX
)
"
\
"CC=
$(
CC
)
"
\
"CC=
$(
CC
)
"
\
...
@@ -395,12 +415,12 @@ compile-dec: initialtag
...
@@ -395,12 +415,12 @@ compile-dec: initialtag
"GL_INCLUDE="
\
"GL_INCLUDE="
\
"GUI_INCLUDE=-I
$(
HOME
)
/SOURCES/fltk-1.1"
\
"GUI_INCLUDE=-I
$(
HOME
)
/SOURCES/fltk-1.1"
\
)
;
done
)
;
done
link-
dec
:
link-
osf1
:
$(
CXX
)
-o
$(
GMSH_BIN_DIR
)
/gmsh
$(
GMSH_FLTK_LIB
)
\
$(
CXX
)
-o
$(
GMSH_BIN_DIR
)
/gmsh
$(
GMSH_FLTK_LIB
)
\
-L
$(
HOME
)
/SOURCES/fltk-1.1/lib
-lfltk_gl
-lGLU
-lGL
-lfltk
\
-L
$(
HOME
)
/SOURCES/fltk-1.1/lib
-lfltk_gl
-lGLU
-lGL
-lfltk
\
-lX11
-lm
-lX11
-lm
dec
:
compile-
dec
link-
dec
osf1
:
compile-
osf1
link-
osf1
distrib-
dec
:
distrib-
osf1
:
make tag
make tag
make clean
make clean
@
for
i
in
$(
GMSH_BOX_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
@
for
i
in
$(
GMSH_BOX_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
...
@@ -414,12 +434,12 @@ distrib-dec:
...
@@ -414,12 +434,12 @@ distrib-dec:
)
;
done
)
;
done
$(
CXX
)
-o
$(
GMSH_BIN_DIR
)
/gmsh-batch
$(
GMSH_BOX_LIB
)
-lm
$(
CXX
)
-o
$(
GMSH_BIN_DIR
)
/gmsh-batch
$(
GMSH_BOX_LIB
)
-lm
make clean
make clean
make
dec
make
osf1
make distrib
make distrib
#
#
# HP-UX
# HP-UX
#
#
compile-hp
:
initialtag
compile-hp
ux
:
initialtag
@
for
i
in
$(
GMSH_FLTK_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
@
for
i
in
$(
GMSH_FLTK_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
"CXX=g++"
\
"CXX=g++"
\
"CC=gcc"
\
"CC=gcc"
\
...
@@ -429,13 +449,13 @@ compile-hp: initialtag
...
@@ -429,13 +449,13 @@ compile-hp: initialtag
"GL_INCLUDE=-I
$(
HOME
)
/SOURCES/Mesa-3.1/include"
\
"GL_INCLUDE=-I
$(
HOME
)
/SOURCES/Mesa-3.1/include"
\
"GUI_INCLUDE=-I
$(
HOME
)
/SOURCES/fltk-1.1"
\
"GUI_INCLUDE=-I
$(
HOME
)
/SOURCES/fltk-1.1"
\
)
;
done
)
;
done
link-hp
:
link-hp
ux
:
g++
-Wl
,+s
-o
$(
GMSH_BIN_DIR
)
/gmsh
$(
GMSH_FLTK_LIB
)
\
g++
-Wl
,+s
-o
$(
GMSH_BIN_DIR
)
/gmsh
$(
GMSH_FLTK_LIB
)
\
-L
$(
HOME
)
/SOURCES/fltk-1.1/lib
-lfltk_gl
\
-L
$(
HOME
)
/SOURCES/fltk-1.1/lib
-lfltk_gl
\
-L
$(
HOME
)
/SOURCES/Mesa-3.1/lib
-lGLU
-lGL
-lfltk
\
-L
$(
HOME
)
/SOURCES/Mesa-3.1/lib
-lGLU
-lGL
-lfltk
\
-lX11
-lm
-lX11
-lm
hp
:
compile-hp link-hp
hp
ux
:
compile-hp
ux
link-hp
ux
distrib-hp
:
distrib-hp
ux
:
make tag
make tag
make clean
make clean
@
for
i
in
$(
GMSH_BOX_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
@
for
i
in
$(
GMSH_BOX_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
...
@@ -449,12 +469,12 @@ distrib-hp:
...
@@ -449,12 +469,12 @@ distrib-hp:
)
;
done
)
;
done
g++
-o
$(
GMSH_BIN_DIR
)
/gmsh-batch
$(
GMSH_BOX_LIB
)
-lm
g++
-o
$(
GMSH_BIN_DIR
)
/gmsh-batch
$(
GMSH_BOX_LIB
)
-lm
make clean
make clean
make hp
make hp
ux
make distrib
make distrib
#
#
# IBM AIX
# IBM AIX
#
#
compile-
ibm
:
initialtag
compile-
aix
:
initialtag
@
for
i
in
$(
GMSH_FLTK_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
@
for
i
in
$(
GMSH_FLTK_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
"CXX=
$(
CXX
)
"
\
"CXX=
$(
CXX
)
"
\
"CC=
$(
CC
)
"
\
"CC=
$(
CC
)
"
\
...
@@ -464,12 +484,12 @@ compile-ibm: initialtag
...
@@ -464,12 +484,12 @@ compile-ibm: initialtag
"GL_INCLUDE="
\
"GL_INCLUDE="
\
"GUI_INCLUDE=-I
$(
HOME
)
/SOURCES/fltk-1.1"
\
"GUI_INCLUDE=-I
$(
HOME
)
/SOURCES/fltk-1.1"
\
)
;
done
)
;
done
link-
ibm
:
link-
aix
:
$(
CXX
)
-o
$(
GMSH_BIN_DIR
)
/gmsh
$(
GMSH_FLTK_LIB
)
\
$(
CXX
)
-o
$(
GMSH_BIN_DIR
)
/gmsh
$(
GMSH_FLTK_LIB
)
\
-L
$(
HOME
)
/SOURCES/fltk-1.1/lib
-lfltk_gl
-lGLU
-lGL
-lfltk
\
-L
$(
HOME
)
/SOURCES/fltk-1.1/lib
-lfltk_gl
-lGLU
-lGL
-lfltk
\
-lX11
-lm
-lX11
-lm
ibm
:
compile-
ibm
link-
ibm
aix
:
compile-
aix
link-
aix
distrib-
ibm
:
distrib-
aix
:
make tag
make tag
make clean
make clean
@
for
i
in
$(
GMSH_BOX_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
@
for
i
in
$(
GMSH_BOX_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
...
@@ -483,12 +503,12 @@ distrib-ibm:
...
@@ -483,12 +503,12 @@ distrib-ibm:
)
;
done
)
;
done
$(
CXX
)
-o
$(
GMSH_BIN_DIR
)
/gmsh-batch
$(
GMSH_BOX_LIB
)
-lm
$(
CXX
)
-o
$(
GMSH_BIN_DIR
)
/gmsh-batch
$(
GMSH_BOX_LIB
)
-lm
make clean
make clean
make
ibm
make
aix
make distrib
make distrib
#
#
# SGI Irix
# SGI Irix
#
#
compile-
sgi
:
initialtag
compile-
irix
:
initialtag
@
for
i
in
$(
GMSH_FLTK_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
@
for
i
in
$(
GMSH_FLTK_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
"CXX=CC"
\
"CXX=CC"
\
"CC=cc"
\
"CC=cc"
\
...
@@ -500,11 +520,11 @@ compile-sgi: initialtag
...
@@ -500,11 +520,11 @@ compile-sgi: initialtag
"GL_INCLUDE="
\
"GL_INCLUDE="
\
"GUI_INCLUDE=-I
$(
HOME
)
/SOURCES/fltk-1.1"
\
"GUI_INCLUDE=-I
$(
HOME
)
/SOURCES/fltk-1.1"
\
)
;
done
)
;
done
link-
sgi
:
link-
irix
:
CC
-O2
-mips3
-n32
-o
$(
GMSH_BIN_DIR
)
/gmsh
$(
GMSH_FLTK_LIB
)
\
CC
-O2
-mips3
-n32
-o
$(
GMSH_BIN_DIR
)
/gmsh
$(
GMSH_FLTK_LIB
)
\
-L
$(
HOME
)
/SOURCES/fltk-1.1/lib
-lfltk_gl
-lfltk
-lX11
-lGLU
-lGL
-lm
-L
$(
HOME
)
/SOURCES/fltk-1.1/lib
-lfltk_gl
-lfltk
-lX11
-lGLU
-lGL
-lm
sgi
:
compile-
sgi
link-
sgi
irix
:
compile-
irix
link-
irix
distrib-
sgi
:
distrib-
irix
:
make tag
make tag
make clean
make clean
@
for
i
in
$(
GMSH_BOX_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
@
for
i
in
$(
GMSH_BOX_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
...
@@ -520,7 +540,7 @@ distrib-sgi:
...
@@ -520,7 +540,7 @@ distrib-sgi:
)
;
done
)
;
done
CC
-O2
-mips3
-n32
-o
$(
GMSH_BIN_DIR
)
/gmsh-batch
$(
GMSH_BOX_LIB
)
-lm
CC
-O2
-mips3
-n32
-o
$(
GMSH_BIN_DIR
)
/gmsh-batch
$(
GMSH_BOX_LIB
)
-lm
make clean
make clean
make
sgi
make
irix
make distrib
make distrib
#
#
...
@@ -586,7 +606,7 @@ cygwin-laptopjf_tag: tag cygwin-laptopjf
...
@@ -586,7 +606,7 @@ cygwin-laptopjf_tag: tag cygwin-laptopjf
#
#
# Sun SunOS
# Sun SunOS
#
#
compile-sun
:
initialtag
compile-sun
os
:
initialtag
@
for
i
in
$(
GMSH_FLTK_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
@
for
i
in
$(
GMSH_FLTK_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
"CXX=g++"
\
"CXX=g++"
\
"CC=gcc"
\
"CC=gcc"
\
...
@@ -596,13 +616,13 @@ compile-sun: initialtag
...
@@ -596,13 +616,13 @@ compile-sun: initialtag
"GL_INCLUDE=-I
$(
HOME
)
/SOURCES/Mesa-3.1/include"
\
"GL_INCLUDE=-I
$(
HOME
)
/SOURCES/Mesa-3.1/include"
\
"GUI_INCLUDE=-I
$(
HOME
)
/SOURCES/fltk-1.1"
\
"GUI_INCLUDE=-I
$(
HOME
)
/SOURCES/fltk-1.1"
\
)
;
done
)
;
done
link-sun
:
link-sun
os
:
g++
-o
$(
GMSH_BIN_DIR
)
/gmsh
$(
GMSH_FLTK_LIB
)
\
g++
-o
$(
GMSH_BIN_DIR
)
/gmsh
$(
GMSH_FLTK_LIB
)
\
-L
$(
HOME
)
/SOURCES/fltk-1.1/lib
-lfltk_gl
\
-L
$(
HOME
)
/SOURCES/fltk-1.1/lib
-lfltk_gl
\
-L
$(
HOME
)
/SOURCES/Mesa-3.1/lib
-lGLU
-lGL
-lfltk
\
-L
$(
HOME
)
/SOURCES/Mesa-3.1/lib
-lGLU
-lGL
-lfltk
\
-lX11
-lXext
-lsocket
-lnsl
-ldl
-lm
-lX11
-lXext
-lsocket
-lnsl
-ldl
-lm
sun
:
compile-sun link-sun
sun
os
:
compile-sun
os
link-sun
os
distrib-sun
:
distrib-sun
os
:
make tag
make tag
make clean
make clean
@
for
i
in
$(
GMSH_BOX_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
@
for
i
in
$(
GMSH_BOX_DIR
);
do
(
cd
$$
i
&&
$(
MAKE
)
\
...
@@ -616,7 +636,7 @@ distrib-sun:
...
@@ -616,7 +636,7 @@ distrib-sun:
)
;
done
)
;
done
g++
-o
$(
GMSH_BIN_DIR
)
/gmsh-batch
$(
GMSH_BOX_LIB
)
-lm
g++
-o
$(
GMSH_BIN_DIR
)
/gmsh-batch
$(
GMSH_BOX_LIB
)
-lm
make clean
make clean
make sun
make sun
os
make distrib
make distrib
#
#
# Solaris SCOREC
# Solaris SCOREC
...
...
This diff is collapsed.
Click to expand it.
README
+
12
−
1
View file @
1cd6d18e
todo!
This is Gmsh, an automatic three-dimensional finite element mesh
generator, primarily Delaunay, with built-in pre- and post-processing
facilities.
Gmsh is free software. See the file COPYING for copying permission.
Type 'make' to build Gmsh. This requires FLTK version 1.1.x to be
installed in $(HOME)/SOURCES/fltk-1.1
See the doc/ and tutorial/ directories for documentation.
See the demos/ directory for additional examples.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment