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
ecad8498
Commit
ecad8498
authored
21 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
more tweaking
parent
ed070f5f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+34
-20
34 additions, 20 deletions
Makefile
with
34 additions
and
20 deletions
Makefile
+
34
−
20
View file @
ecad8498
# $Id: Makefile,v 1.33
2
2004-04-15 03:
04:48
geuzaine Exp $
# $Id: Makefile,v 1.33
3
2004-04-15 03:
50:31
geuzaine Exp $
#
#
# Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
# Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
#
#
...
@@ -77,13 +77,6 @@ source: source-common
...
@@ -77,13 +77,6 @@ source: source-common
NR Triangle/triangle.
*
utils/commercial
NR Triangle/triangle.
*
utils/commercial
tar
zcvf gmsh-
${
GMSH_VERSION
}
-source
.tgz gmsh-
${
GMSH_VERSION
}
tar
zcvf gmsh-
${
GMSH_VERSION
}
-source
.tgz gmsh-
${
GMSH_VERSION
}
source-nightly
:
mv
-f
Makefile Makefile.nightly
sed
-e
"s/^GMSH_EXTRA_VERSION.*/GMSH_EXTRA_VERSION =
\"
-nightly-
${
GMSH_DATE
}
\"
/g"
\
Makefile.nightly
>
Makefile
make
source
mv
-f
Makefile.nightly Makefile
source-commercial
:
source-common
source-commercial
:
source-common
cd
gmsh-
${
GMSH_VERSION
}
&&
rm
-rf
CVS
*
/CVS
*
/
*
/CVS
*
/.globalrc
${
GMSH_VERSION_FILE
}
\
cd
gmsh-
${
GMSH_VERSION
}
&&
rm
-rf
CVS
*
/CVS
*
/
*
/CVS
*
/.globalrc
${
GMSH_VERSION_FILE
}
\
Triangle/triangle.
*
TODO
*
.spec doc/gmsh.html doc/FAQ doc/README.cvs
\
Triangle/triangle.
*
TODO
*
.spec doc/gmsh.html doc/FAQ doc/README.cvs
\
...
@@ -166,10 +159,6 @@ tgz:
...
@@ -166,10 +159,6 @@ tgz:
gzip
${
GMSH_ARCHIVE
}
.tar
gzip
${
GMSH_ARCHIVE
}
.tar
chmod
640
${
GMSH_ARCHIVE
}
.tar.gz
chmod
640
${
GMSH_ARCHIVE
}
.tar.gz
minizip
:
tar
jcvf gmsh-
`
date
"+%Y.%m.%d"
`
.tar.bz2
\
`
ls
Makefile
*
/Makefile
*
/
*
.[chyl]
*
/
*
.[ch]pp
*
/
*
.rc
*
/
*
.res
*
/
*
.ico
`
distrib-pre
:
distrib-pre
:
mv
-f
Makefile Makefile.distrib
mv
-f
Makefile Makefile.distrib
sed
-e
"s/^GMSH_EXTRA_VERSION.*/GMSH_EXTRA_VERSION =/g"
\
sed
-e
"s/^GMSH_EXTRA_VERSION.*/GMSH_EXTRA_VERSION =/g"
\
...
@@ -177,22 +166,47 @@ distrib-pre:
...
@@ -177,22 +166,47 @@ distrib-pre:
distrib-post
:
distrib-post
:
mv
-f
Makefile.distrib Makefile
mv
-f
Makefile.distrib Makefile
@
echo
"********************************************************************"
rm
-f
${
GMSH_VERSION_FILE
}
@
echo
"Remember to change -ljpeg, etc. to /usr/lib/libjpeg.a, etc. in"
@
echo
"./variables and relink if the list below contains non-standard"
@
echo
"dynamic libs and you want to distribute a portable binary:"
@
echo
"********************************************************************"
distrib-unix
:
clean distrib-pre all package-unix distrib-post
distrib-unix
:
clean
make distrib-pre
make all
make package-unix
make distrib-post
ldd bin/gmsh
ldd bin/gmsh
distrib-win
:
clean distrib-pre all package-win distrib-post
distrib-win
:
clean
make distrib-pre
make all
make package-win
make distrib-post
objdump
-p
bin/gmsh.exe |
grep
DLL
objdump
-p
bin/gmsh.exe |
grep
DLL
distrib-mac
:
clean distrib-pre all package-mac distrib-post
distrib-mac
:
clean
make distrib-pre
make all
make package-mac
make distrib-post
${
POSTBUILD
}
${
POSTBUILD
}
otool
-L
bin/gmsh
otool
-L
bin/gmsh
distrib-source
:
make distrib-pre
make
source
make distrib-post
distrib-source-commercial
:
make distrib-pre
make source-commercial
make distrib-post
distrib-source-nightly
:
mv
-f
Makefile Makefile.distrib
sed
-e
"s/^GMSH_EXTRA_VERSION.*/GMSH_EXTRA_VERSION =
\"
-nightly-
${
GMSH_DATE
}
\"
/g"
\
Makefile.distrib
>
Makefile
make
source
make distrib-post
package-unix
:
package-unix
:
rm
-rf
gmsh-
${
GMSH_VERSION
}
rm
-rf
gmsh-
${
GMSH_VERSION
}
mkdir
gmsh-
${
GMSH_VERSION
}
mkdir
gmsh-
${
GMSH_VERSION
}
...
...
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