Rename .C to .cpp.

This commit is contained in:
Sylvain Pion 2007-01-27 20:43:03 +00:00
parent 46caa3f082
commit f0e5d26517
4 changed files with 35 additions and 21 deletions

View File

@ -1,3 +1,6 @@
# Created by the script cgal_create_makefile
# This is the makefile for compiling a CGAL application.
#---------------------------------------------------------------------# #---------------------------------------------------------------------#
# include platform specific settings # include platform specific settings
#---------------------------------------------------------------------# #---------------------------------------------------------------------#
@ -11,50 +14,57 @@ include $(CGAL_MAKEFILE)
#---------------------------------------------------------------------# #---------------------------------------------------------------------#
CXXFLAGS = \ CXXFLAGS = \
-I../../include \ -I../../include \
-I../Triangulation_2/include \ -I../Triangulation_2/include \
$(TESTSUITE_CXXFLAGS) \ $(TESTSUITE_CXXFLAGS) \
$(EXTRA_FLAGS) \ $(EXTRA_FLAGS) \
$(CGAL_CXXFLAGS) \ $(CGAL_CXXFLAGS) \
$(LONG_NAME_PROBLEM_CXXFLAGS) \ $(LONG_NAME_PROBLEM_CXXFLAGS)
$(DEBUG_OPT)
#---------------------------------------------------------------------# #---------------------------------------------------------------------#
# linker flags # linker flags
#---------------------------------------------------------------------# #---------------------------------------------------------------------#
LIBPATH = \ LIBPATH = \
$(TESTSUITE_LIBPATH) \ $(TESTSUITE_LIBPATH) \
$(CGAL_LIBPATH) $(CGAL_LIBPATH)
LDFLAGS = \ LDFLAGS = \
$(TESTSUITE_LDFLAGS) \ $(TESTSUITE_LDFLAGS) \
$(LONG_NAME_PROBLEM_LDFLAGS) \ $(LONG_NAME_PROBLEM_LDFLAGS) \
$(CGAL_LDFLAGS) $(CGAL_LDFLAGS)
#---------------------------------------------------------------------# #---------------------------------------------------------------------#
# target entries # target entries
#---------------------------------------------------------------------# #---------------------------------------------------------------------#
all: \ all: \
test_const_del_triangulation_2$(EXE_EXT) \ test_const_del_triangulation_2$(EXE_EXT) \
test_constrained_triangulation_2$(EXE_EXT) \ test_constrained_triangulation_2$(EXE_EXT) \
test_const_triang_plus_2$(EXE_EXT) test_const_triang_plus_2$(EXE_EXT)
test_const_del_triangulation_2$(OBJ_EXT): test_const_del_triangulation_2.cpp
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) test_const_del_triangulation_2.cpp
test_const_del_triangulation_2$(EXE_EXT): test_const_del_triangulation_2$(OBJ_EXT) test_const_del_triangulation_2$(EXE_EXT): test_const_del_triangulation_2$(OBJ_EXT)
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_const_del_triangulation_2 test_const_del_triangulation_2$(OBJ_EXT) $(LDFLAGS) $(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_const_del_triangulation_2 test_const_del_triangulation_2$(OBJ_EXT) $(LDFLAGS)
test_constrained_triangulation_2$(OBJ_EXT): test_constrained_triangulation_2.cpp
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) test_constrained_triangulation_2.cpp
test_constrained_triangulation_2$(EXE_EXT): test_constrained_triangulation_2$(OBJ_EXT) test_constrained_triangulation_2$(EXE_EXT): test_constrained_triangulation_2$(OBJ_EXT)
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_constrained_triangulation_2 test_constrained_triangulation_2$(OBJ_EXT) $(LDFLAGS) $(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_constrained_triangulation_2 test_constrained_triangulation_2$(OBJ_EXT) $(LDFLAGS)
test_const_triang_plus_2: test_const_triang_plus_2$(OBJ_EXT) test_const_triang_plus_2$(OBJ_EXT): test_const_triang_plus_2.cpp
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) test_const_triang_plus_2.cpp
test_const_triang_plus_2$(EXE_EXT): test_const_triang_plus_2$(OBJ_EXT)
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_const_triang_plus_2 test_const_triang_plus_2$(OBJ_EXT) $(LDFLAGS) $(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_const_triang_plus_2 test_const_triang_plus_2$(OBJ_EXT) $(LDFLAGS)
clean: \ clean: \
test_const_del_triangulation_2.clean \ test_const_del_triangulation_2.clean \
test_constrained_triangulation_2.clean \ test_constrained_triangulation_2.clean \
test_const_triang_plus_2.clean test_const_triang_plus_2.clean
#---------------------------------------------------------------------# #---------------------------------------------------------------------#
# suffix rules # suffix rules
@ -63,3 +73,7 @@ clean: \
.C$(OBJ_EXT): .C$(OBJ_EXT):
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) $< $(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) $<
.cpp$(OBJ_EXT):
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) $<