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

fix makefile so we can use "make -j 8" on the default rule
parent e9442783
No related branches found
No related tags found
No related merge requests found
# $Id: Makefile,v 1.439 2007-09-10 04:47:01 geuzaine Exp $ # $Id: Makefile,v 1.440 2007-11-20 17:37:37 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -33,21 +33,21 @@ GMSH_SHORT_LICENSE = "GNU General Public License" ...@@ -33,21 +33,21 @@ GMSH_SHORT_LICENSE = "GNU General Public License"
GMSH_VERSION_FILE = Common/GmshVersion.h GMSH_VERSION_FILE = Common/GmshVersion.h
GMSH_DATE = `date "+%Y%m%d"` GMSH_DATE = `date "+%Y%m%d"`
all: variables initialtag compile link all: link
compile: variables initialtag link: compile
@for i in ${GMSH_DIRS}; do (cd $$i && ${MAKE}); done
link: variables
${LINKER} ${OPTIM} -o bin/gmsh ${GMSH_LIBS} ${LINKER} ${OPTIM} -o bin/gmsh ${GMSH_LIBS}
${POSTBUILD} ${POSTBUILD}
link-mac-universal: variables link-mac-universal: compile
${LINKER} -arch i386 ${OPTIM} -o bin/gmsh_i386 ${GMSH_LIBS} ${LINKER} -arch i386 ${OPTIM} -o bin/gmsh_i386 ${GMSH_LIBS}
${LINKER} -arch ppc ${OPTIM} -o bin/gmsh_ppc ${GMSH_LIBS} ${LINKER} -arch ppc ${OPTIM} -o bin/gmsh_ppc ${GMSH_LIBS}
lipo -create bin/gmsh_i386 bin/gmsh_ppc -output bin/gmsh lipo -create bin/gmsh_i386 bin/gmsh_ppc -output bin/gmsh
rm -f bin/gmsh_i386 bin/gmsh_ppc rm -f bin/gmsh_i386 bin/gmsh_ppc
compile: variables initialtag
@for i in ${GMSH_DIRS}; do (cd $$i && ${MAKE}); done
install: variables install: variables
mkdir -p ${bindir} mkdir -p ${bindir}
cp -f bin/gmsh${EXEEXT} ${bindir} cp -f bin/gmsh${EXEEXT} ${bindir}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment