~ubuntu-branches/ubuntu/dapper/gmsh/dapper

« back to all changes in this revision

Viewing changes to Parser/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese
  • Date: 2005-09-23 23:24:14 UTC
  • mfrom: (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050923232414-iao03ey38rd8pg0m
Tags: 1.60.1-1ubuntu2
gcc4 build failure - meshtype.hpp. (Closes BTS #324310)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: Makefile,v 1.63 2004/10/28 06:11:23 geuzaine Exp $
 
1
# $Id: Makefile,v 1.71 2005/02/02 18:48:00 geuzaine Exp $
2
2
#
3
 
# Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
 
3
# Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
4
4
#
5
5
# This program is free software; you can redistribute it and/or modify
6
6
# it under the terms of the GNU General Public License as published by
26
26
          -I../Mesh -I../Numeric -I../Fltk -I../Plugin -I../Parallel
27
27
CFLAGS  = ${OPTIM} ${FLAGS} ${INCLUDE}
28
28
 
29
 
SRC = Gmsh.yy.cpp\
30
 
      Gmsh.tab.cpp\
 
29
SRC = Gmsh.tab.cpp\
 
30
      Gmsh.yy.cpp\
31
31
      OpenFile.cpp\
32
32
      FunctionManager.cpp
33
33
 
42
42
.cpp.o:
43
43
        ${CXX} ${CFLAGS} -c $<
44
44
 
 
45
# Don't optimize Gmsh.tab.o: on many architectures, g++ -O2 generates
 
46
# assembly code too large to be addressed correctly
 
47
Gmsh.tab.o:
 
48
        ${CXX} ${FLAGS} ${INCLUDE} -c $<
 
49
 
 
50
# Don't do this: it would be triggered when we check out a new version via CVS
 
51
# Gmsh.tab.cpp: Gmsh.y
 
52
#       bison --output Gmsh.tab.cpp -d Gmsh.y 
 
53
#       if [ -r Gmsh.tab.cpp.h ]; then mv Gmsh.tab.cpp.h Gmsh.tab.hpp ; fi
 
54
#
 
55
# Gmsh.yy.cpp: Gmsh.l
 
56
#       flex -oGmsh.yy.cpp Gmsh.l
 
57
#
 
58
# parser: Gmsh.yy.cpp Gmsh.tab.cpp
 
59
 
45
60
parser:
46
61
        bison --output Gmsh.tab.cpp -d Gmsh.y 
47
 
        flex  -oGmsh.yy.cpp Gmsh.l
48
62
        if [ -r Gmsh.tab.cpp.h ]; then mv Gmsh.tab.cpp.h Gmsh.tab.hpp ; fi
 
63
        flex -oGmsh.yy.cpp Gmsh.l
49
64
 
50
65
clean:
51
66
        rm -f *.o
59
74
        rm -f Makefile.new
60
75
 
61
76
# DO NOT DELETE THIS LINE
62
 
Gmsh.yy.o: Gmsh.yy.cpp ../Common/Gmsh.h ../Common/Message.h \
63
 
  ../DataStr/Malloc.h ../DataStr/List.h ../DataStr/Tree.h \
64
 
  ../DataStr/avl.h ../DataStr/Tools.h ../Numeric/Numeric.h ../Geo/Geo.h \
65
 
  ../Geo/CAD.h ../Mesh/Mesh.h ../Mesh/Vertex.h ../Mesh/Element.h \
66
 
  ../Mesh/Simplex.h ../Mesh/Face.h ../Mesh/Edge.h ../Geo/ExtrudeParams.h \
67
 
  ../Mesh/STL.h ../Common/VertexArray.h ../Common/SmoothNormals.h \
68
 
  ../Mesh/Metric.h ../Mesh/Matrix.h Gmsh.tab.hpp
69
77
Gmsh.tab.o: Gmsh.tab.cpp ../Plugin/PluginManager.h ../Plugin/Plugin.h \
70
78
  ../Common/Options.h ../Common/Message.h ../Common/Views.h \
71
79
  ../Common/ColorTable.h ../DataStr/List.h ../Common/VertexArray.h \
72
 
  ../Common/SmoothNormals.h ../Common/GmshMatrix.h ../Parallel/ParUtil.h \
73
 
  ../Common/Gmsh.h ../DataStr/Malloc.h ../DataStr/Tree.h ../DataStr/avl.h \
 
80
  ../Common/SmoothNormals.h ../Common/GmshMatrix.h \
 
81
  ../Common/AdaptiveViews.h ../Parallel/ParUtil.h ../Common/Gmsh.h \
 
82
  ../DataStr/Malloc.h ../DataStr/Tree.h ../DataStr/avl.h \
74
83
  ../DataStr/Tools.h ../Numeric/Numeric.h ../Common/Context.h \
75
84
  ../Geo/Geo.h ../Geo/GeoUtils.h ../Mesh/Mesh.h ../Mesh/Vertex.h \
76
85
  ../Mesh/Element.h ../Mesh/Simplex.h ../Mesh/Face.h ../Mesh/Edge.h \
77
 
  ../Geo/ExtrudeParams.h ../Mesh/STL.h ../Mesh/Metric.h ../Mesh/Matrix.h \
78
 
  ../Mesh/Nurbs.h ../Geo/CAD.h ../Graphics/Draw.h ../Mesh/Create.h \
79
 
  ../Geo/StepGeomDatabase.h ../Common/Colors.h Parser.h OpenFile.h \
80
 
  ../Common/CommandLine.h FunctionManager.h ../Common/Timer.h \
81
 
  ../Graphics/CreateFile.h ../Common/Visibility.h
 
86
  ../Geo/ExtrudeParams.h ../Mesh/DiscreteSurface.h ../Mesh/Metric.h \
 
87
  ../Mesh/Matrix.h ../Mesh/Nurbs.h ../Geo/CAD.h ../Graphics/Draw.h \
 
88
  ../Mesh/Create.h ../Geo/StepGeomDatabase.h ../Common/Colors.h Parser.h \
 
89
  OpenFile.h ../Common/CommandLine.h FunctionManager.h ../Common/Timer.h \
 
90
  ../Graphics/CreateFile.h ../Common/Visibility.h ../Common/GmshVersion.h
 
91
Gmsh.yy.o: Gmsh.yy.cpp ../Common/Gmsh.h ../Common/Message.h \
 
92
  ../DataStr/Malloc.h ../DataStr/List.h ../DataStr/Tree.h \
 
93
  ../DataStr/avl.h ../DataStr/Tools.h ../Numeric/Numeric.h ../Geo/Geo.h \
 
94
  ../Geo/CAD.h ../Mesh/Mesh.h ../Mesh/Vertex.h ../Mesh/Element.h \
 
95
  ../Mesh/Simplex.h ../Mesh/Face.h ../Mesh/Edge.h ../Geo/ExtrudeParams.h \
 
96
  ../Mesh/DiscreteSurface.h ../Common/VertexArray.h \
 
97
  ../Common/SmoothNormals.h ../Mesh/Metric.h ../Mesh/Matrix.h \
 
98
  Gmsh.tab.hpp
82
99
OpenFile.o: OpenFile.cpp ../Common/Gmsh.h ../Common/Message.h \
83
100
  ../DataStr/Malloc.h ../DataStr/List.h ../DataStr/Tree.h \
84
101
  ../DataStr/avl.h ../DataStr/Tools.h ../Numeric/Numeric.h \
85
102
  ../Common/Context.h Parser.h OpenFile.h ../Common/CommandLine.h \
86
103
  ../Plugin/PluginManager.h ../Plugin/Plugin.h ../Common/Options.h \
87
104
  ../Common/Views.h ../Common/ColorTable.h ../Common/VertexArray.h \
88
 
  ../Common/SmoothNormals.h ../Common/GmshMatrix.h ../Geo/Geo.h \
89
 
  ../Mesh/Mesh.h ../Mesh/Vertex.h ../Mesh/Element.h ../Mesh/Simplex.h \
90
 
  ../Mesh/Face.h ../Mesh/Edge.h ../Geo/ExtrudeParams.h ../Mesh/STL.h \
91
 
  ../Mesh/Metric.h ../Mesh/Matrix.h ../Geo/MinMax.h \
92
 
  ../Common/Visibility.h ../Graphics/ReadImg.h ../Common/GmshUI.h \
93
 
  ../Graphics/Draw.h ../Fltk/GUI.h ../Fltk/Opengl_Window.h \
94
 
  ../Fltk/Colorbar_Window.h ../Fltk/File_Picker.h
 
105
  ../Common/SmoothNormals.h ../Common/GmshMatrix.h \
 
106
  ../Common/AdaptiveViews.h ../Geo/Geo.h ../Mesh/Mesh.h ../Mesh/Vertex.h \
 
107
  ../Mesh/Element.h ../Mesh/Simplex.h ../Mesh/Face.h ../Mesh/Edge.h \
 
108
  ../Geo/ExtrudeParams.h ../Mesh/DiscreteSurface.h ../Mesh/Metric.h \
 
109
  ../Mesh/Matrix.h ../Geo/MinMax.h ../Common/Visibility.h \
 
110
  ../Graphics/ReadImg.h ../Common/GmshUI.h ../Graphics/Draw.h \
 
111
  ../Fltk/GUI.h ../Fltk/Opengl_Window.h ../Fltk/Colorbar_Window.h
95
112
FunctionManager.o: FunctionManager.cpp FunctionManager.h