changed .C to .cpp in examples

This commit is contained in:
Andreas Fabri 2006-07-09 19:30:32 +00:00
parent 8268f14f3d
commit bbb64661bd
9 changed files with 10 additions and 10 deletions

View File

@ -36,17 +36,17 @@ LDFLAGS = \
all: nef_2 all: nef_2
Qt_widget_toolbar$(OBJ_EXT): Qt_widget_toolbar.C Qt_widget_toolbar.moc Qt_widget_toolbar$(OBJ_EXT): Qt_widget_toolbar.cpp Qt_widget_toolbar.moc
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) Qt_widget_toolbar.C $(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) Qt_widget_toolbar.cpp
Qt_widget_toolbar.moc: Qt_widget_toolbar.h Qt_widget_toolbar.moc: Qt_widget_toolbar.h
$(QT_MOC) -o Qt_widget_toolbar.moc Qt_widget_toolbar.h $(QT_MOC) -o Qt_widget_toolbar.moc Qt_widget_toolbar.h
nef_2.moc: nef_2.C nef_2.moc: nef_2.cpp
${QT_MOC} -o nef_2.moc nef_2.C ${QT_MOC} -o nef_2.moc nef_2.cpp
nef_2$(OBJ_EXT): nef_2.C nef_2.moc nef_2$(OBJ_EXT): nef_2.cpp nef_2.moc
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) nef_2.C $(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) nef_2.cpp
nef_2$(EXE_EXT): nef_2$(OBJ_EXT) Qt_widget_toolbar$(OBJ_EXT) nef_2$(EXE_EXT): nef_2$(OBJ_EXT) Qt_widget_toolbar$(OBJ_EXT)
$(CGAL_CXX) $(EXE_OPT)nef_2 nef_2$(OBJ_EXT) \ $(CGAL_CXX) $(EXE_OPT)nef_2 nef_2$(OBJ_EXT) \
@ -61,5 +61,5 @@ clean: nef_2.clean \
# suffix rules # suffix rules
#---------------------------------------------------------------------# #---------------------------------------------------------------------#
.C$(OBJ_EXT): .cpp$(OBJ_EXT):
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) $< $(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) $<

View File

@ -65,7 +65,7 @@ standard two-dimensional CGAL kernel (\ccc{CGAL::Point_2<K>}
and \ccc{CGAL::Line_2<K>}). Their user interface is thus defined in and \ccc{CGAL::Line_2<K>}). Their user interface is thus defined in
the corresponding reference pages. the corresponding reference pages.
\ccIncludeExampleCode{Nef_2/construction.C} \ccIncludeExampleCode{Nef_2/construction.cpp}
Planar halfspaces (as used in the definition) are modelled by oriented Planar halfspaces (as used in the definition) are modelled by oriented
lines. In the previous example \ccc{N1} is the Nef polyhedron lines. In the previous example \ccc{N1} is the Nef polyhedron

View File

@ -251,7 +251,7 @@ where \ccc{NT} is a field type, and finally
first). The following example uses the filtered homogeneous kernel to first). The following example uses the filtered homogeneous kernel to
construct the intersection of two halfspaces. construct the intersection of two halfspaces.
\ccIncludeExampleCode{Nef_2/simple_intersection.C} \ccIncludeExampleCode{Nef_2/simple_intersection.cpp}
After line (*) \ccc{N3} is the intersection of \ccc{N1} and \ccc{N2}. After line (*) \ccc{N3} is the intersection of \ccc{N1} and \ccc{N2}.
The member types of \ccc{Nef_polyhedron_2< Extended_homogeneous<NT> >} The member types of \ccc{Nef_polyhedron_2< Extended_homogeneous<NT> >}

View File

@ -59,7 +59,7 @@ clean: \
# suffix rules # suffix rules
#---------------------------------------------------------------------# #---------------------------------------------------------------------#
.C$(OBJ_EXT): .cpp$(OBJ_EXT):
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) $< $(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) $<
.cpp$(OBJ_EXT): .cpp$(OBJ_EXT):