mirror of https://github.com/CGAL/cgal
87 lines
3.2 KiB
Makefile
87 lines
3.2 KiB
Makefile
# Created by the script create_makefile
|
|
# This is the makefile for compiling a CGAL application.
|
|
|
|
#---------------------------------------------------------------------#
|
|
# include platform specific settings
|
|
#---------------------------------------------------------------------#
|
|
# Choose the right include file from the <cgalroot>/make directory.
|
|
|
|
# CGAL_MAKEFILE = ENTER_YOUR_INCLUDE_MAKEFILE_HERE
|
|
CGAL_MAKEFILE = /user/teillaud/home/CGAL/install/CGAL-I/make/makefile_i686_Linux-2.6_g++-3.4.4
|
|
#makefile_i686_Linux-2.6_g++33-3.3.4
|
|
#makefile_i686_Linux-2.6_g++-3.4.4
|
|
include $(CGAL_MAKEFILE)
|
|
|
|
#---------------------------------------------------------------------#
|
|
# compiler flags
|
|
#---------------------------------------------------------------------#
|
|
|
|
CXXFLAGS = \
|
|
-I../../include \
|
|
-I../../../Algebraic_kernel/include \
|
|
-Iinclude \
|
|
-g \
|
|
$(TESTSUITE_CXXFLAGS) \
|
|
$(EXTRA_FLAGS) \
|
|
$(CGAL_CXXFLAGS) \
|
|
$(LONG_NAME_PROBLEM_CXXFLAGS)
|
|
|
|
#---------------------------------------------------------------------#
|
|
# linker flags
|
|
#---------------------------------------------------------------------#
|
|
|
|
LIBPATH = \
|
|
$(TESTSUITE_LIBPATH) \
|
|
$(CGAL_LIBPATH)
|
|
|
|
LDFLAGS = \
|
|
$(TESTSUITE_LDFLAGS) \
|
|
$(LONG_NAME_PROBLEM_LDFLAGS) \
|
|
$(CGAL_LDFLAGS)
|
|
|
|
#---------------------------------------------------------------------#
|
|
# target entries
|
|
#---------------------------------------------------------------------#
|
|
|
|
all: \
|
|
test_Circular_kernel$(EXE_EXT) \
|
|
test_Line_arc$(EXE_EXT) \
|
|
test_Filtered_hexagon_kernel$(EXE_EXT) \
|
|
test_Lazy_curved_kernel$(EXE_EXT) \
|
|
test_Exact_curved_kernel$(EXE_EXT)\
|
|
test_Lazy_Line_arc$(EXE_EXT)
|
|
|
|
test_Circular_kernel$(EXE_EXT): test_Circular_kernel$(OBJ_EXT)
|
|
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_Circular_kernel test_Circular_kernel$(OBJ_EXT) $(LDFLAGS)
|
|
|
|
test_Filtered_hexagon_kernel$(EXE_EXT): test_Filtered_hexagon_kernel$(OBJ_EXT)
|
|
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_Filtered_hexagon_kernel test_Filtered_hexagon_kernel$(OBJ_EXT) $(LDFLAGS)
|
|
|
|
test_Lazy_curved_kernel$(EXE_EXT): test_Lazy_curved_kernel$(OBJ_EXT)
|
|
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_Lazy_curved_kernel test_Lazy_curved_kernel$(OBJ_EXT) $(LDFLAGS)
|
|
|
|
test_Exact_curved_kernel$(EXE_EXT): test_Exact_curved_kernel$(OBJ_EXT)
|
|
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_Exact_curved_kernel test_Exact_curved_kernel$(OBJ_EXT) $(LDFLAGS)
|
|
|
|
test_Line_arc$(EXE_EXT): test_Line_arc$(OBJ_EXT)
|
|
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_Line_arc test_Line_arc$(OBJ_EXT) $(LDFLAGS)
|
|
|
|
test_Lazy_Line_arc$(EXE_EXT): test_Lazy_Line_arc$(OBJ_EXT)
|
|
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_Lazy_Line_arc test_Lazy_Line_arc$(OBJ_EXT) $(LDFLAGS)
|
|
|
|
clean: \
|
|
test_Circular_kernel.clean \
|
|
test_Filtered_hexagon_kernel.clean \
|
|
test_Line_arc.clean \
|
|
test_Lazy_curved_kernel.clean \
|
|
test_Exact_curved_kernel.clean \
|
|
test_Lazy_Line_arc.clean
|
|
|
|
#---------------------------------------------------------------------#
|
|
# suffix rules
|
|
#---------------------------------------------------------------------#
|
|
|
|
.C$(OBJ_EXT):
|
|
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) $<
|
|
|