diff --git a/Core/examples/Core/delaunay.cpp b/Core/examples/Core/delaunay.cpp index 3ff80b906a1..05f5cb42e92 100644 --- a/Core/examples/Core/delaunay.cpp +++ b/Core/examples/Core/delaunay.cpp @@ -1,9 +1,7 @@ -#include +#define CORE_NO_AUTOMATIC_NAMESPACE 1 -#ifdef CGAL_USE_CORE #include - #include #include @@ -29,14 +27,3 @@ int main() { } -#else // CGAL_USE_CORE - -#include - -int main() -{ - std::cout << "Core is not installed" << std::endl; - return 0; -} - -#endif // CGAL_USE_CORE diff --git a/Core/examples/Core/makefile b/Core/examples/Core/makefile deleted file mode 100644 index 2016be57db2..00000000000 --- a/Core/examples/Core/makefile +++ /dev/null @@ -1,56 +0,0 @@ -# Created by the script cgal_create_makefile -# This is the makefile for compiling a CGAL application. - -#---------------------------------------------------------------------# -# include platform specific settings -#---------------------------------------------------------------------# -# Choose the right include file from the /make directory. - -# CGAL_MAKEFILE = ENTER_YOUR_INCLUDE_MAKEFILE_HERE - -include $(CGAL_MAKEFILE) - -#---------------------------------------------------------------------# -# compiler flags -#---------------------------------------------------------------------# - -CXXFLAGS = -I../../include -DCORE_NO_AUTOMATIC_NAMESPACE\ - $(TESTSUITE_CXXFLAGS) \ - $(EXTRA_FLAGS) \ - $(CGAL_CXXFLAGS) \ - $(LONG_NAME_PROBLEM_CXXFLAGS) \ - $(DEBUG_OPT) - -#---------------------------------------------------------------------# -# linker flags -#---------------------------------------------------------------------# - -LIBPATH = \ - $(TESTSUITE_LIBPATH) \ - $(CGAL_LIBPATH) - -LDFLAGS = \ - $(TESTSUITE_LDFLAGS) \ - $(LONG_NAME_PROBLEM_LDFLAGS) \ - $(CGAL_LDFLAGS) - -#---------------------------------------------------------------------# -# target entries -#---------------------------------------------------------------------# - -all: \ - delaunay$(EXE_EXT) - -delaunay$(EXE_EXT): delaunay$(OBJ_EXT) - $(CGAL_CXX) $(LIBPATH) $(EXE_OPT)delaunay delaunay$(OBJ_EXT) $(LDFLAGS) - -clean: \ - delaunay.clean - -#---------------------------------------------------------------------# -# suffix rules -#---------------------------------------------------------------------# - -.cpp$(OBJ_EXT): - $(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) $< -