Skip to content
Snippets Groups Projects
Commit 250127bf authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 4498346a
Branches
Tags
No related merge requests found
...@@ -47,7 +47,7 @@ compile: variables initialtag ...@@ -47,7 +47,7 @@ compile: variables initialtag
ifneq (${UNAME},WIN32MSVC) ifneq (${UNAME},WIN32MSVC)
@for i in ${GMSH_DIRS}; do (cd $$i && ${MAKE}); done @for i in ${GMSH_DIRS}; do (cd $$i && ${MAKE}); done
else else
for %%i in (${GMSH_DIRS}) do gmake -C %%i for %%i in (${GMSH_DIRS}) do ${MAKE} -C %%i
endif endif
install: variables install: variables
...@@ -96,7 +96,7 @@ ifneq (${UNAME},WIN32MSVC) ...@@ -96,7 +96,7 @@ ifneq (${UNAME},WIN32MSVC)
${RANLIB} lib/libGmsh${LIBEXT} ${RANLIB} lib/libGmsh${LIBEXT}
rm -f lib/*${OBJEXT} rm -f lib/*${OBJEXT}
else else
for %%i in (${GMSH_DIRS}); do gmake -C %%i for %%i in (${GMSH_DIRS}); do ${MAKE} -C %%i
${AR} ${ARFLAGS}bin\libGmsh${LIBEXT} lib\*${LIBEXT} ${AR} ${ARFLAGS}bin\libGmsh${LIBEXT} lib\*${LIBEXT}
erase lib\*${LIBEXT} erase lib\*${LIBEXT}
move bin\libGmsh${LIBEXT} lib move bin\libGmsh${LIBEXT} lib
...@@ -190,7 +190,7 @@ ifneq (${UNAME},WIN32MSVC) ...@@ -190,7 +190,7 @@ ifneq (${UNAME},WIN32MSVC)
for i in doc lib ${GMSH_DIRS}; do (cd $$i && ${MAKE} clean); done for i in doc lib ${GMSH_DIRS}; do (cd $$i && ${MAKE} clean); done
rm -f ${GMSH_VERSION_FILE} rm -f ${GMSH_VERSION_FILE}
else else
for %%i in (doc lib ${GMSH_DIRS}) do gmake -C %%i clean for %%i in (doc lib ${GMSH_DIRS}) do ${MAKE} -C %%i clean
erase Common\GmshVersion.h erase Common\GmshVersion.h
endif endif
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# See the LICENSE.txt file for license information. Please report all # See the LICENSE.txt file for license information. Please report all
# bugs and problems to <gmsh@geuz.org>. # bugs and problems to <gmsh@geuz.org>.
include ../../variables
default: default:
@cd src && ${MAKE} @cd src && ${MAKE}
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# See the LICENSE.txt file for license information. Please report all # See the LICENSE.txt file for license information. Please report all
# bugs and problems to <gmsh@geuz.org>. # bugs and problems to <gmsh@geuz.org>.
include ../variables
clean: clean:
rm -f *~ .*~ ${RM} *~ .*~
cd texinfo && ${MAKE} clean cd texinfo && ${MAKE} clean
To compile Gmsh with Microsoft Visual C++ To compile Gmsh with Microsoft Visual C++
1) Install GNU make and related tools (e.g. from cygwin or mingw) 1) launch the Visual Studio command prompt
2) launch the Visual Studio command prompt 2) go to the gmsh source directory
3) set PATH=%PATH%;C:\cygwin\bin (or wherever the make tools are installed) 4) rename "utils\misc\variables.msvc" into "variables" (in the root
of the gmsh source directory)
4) go to the gmsh directory and rename "utils/misc/variables.msvc" to "variables"
5) edit "variables" to match your local installation of Visual C++ 5) edit "variables" to match your local installation of Visual C++
6) type "make" 6) type "utils\misc\gmake.exe"
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# See the LICENSE.txt file for license information. Please report all # See the LICENSE.txt file for license information. Please report all
# bugs and problems to <gmsh@geuz.org>. # bugs and problems to <gmsh@geuz.org>.
include ../../variables
dvi: dvi:
texi2dvi gmsh.texi texi2dvi gmsh.texi
...@@ -39,7 +41,7 @@ txt: ...@@ -39,7 +41,7 @@ txt:
all: pdf html html1 infoz txt all: pdf html html1 infoz txt
clean: clean:
rm -f *.cp* *.fn* *.ky* *.pg* *.tp* *.vr* *.mv*\ ${RM} *.cp* *.fn* *.ky* *.pg* *.tp* *.vr* *.mv*\
*.log *.toc *.aux *.dvi *.html *.txt\ *.log *.toc *.aux *.dvi *.html *.txt\
gmsh.ps gmsh.pdf gmsh.info* gmsh-info.tgz gmsh.ps gmsh.pdf gmsh.info* gmsh-info.tgz
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment