mirror of https://github.com/CGAL/cgal
98 lines
3.8 KiB
Makefile
98 lines
3.8 KiB
Makefile
# 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 <cgalroot>/make directory.
|
|
|
|
# CGAL_MAKEFILE = ENTER_YOUR_INCLUDE_MAKEFILE_HERE
|
|
include $(CGAL_MAKEFILE)
|
|
|
|
#---------------------------------------------------------------------#
|
|
# compiler flags
|
|
#---------------------------------------------------------------------#
|
|
|
|
CXXFLAGS = \
|
|
-I../../../Circulator/include \
|
|
-I../../include \
|
|
$(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: \
|
|
test_Compact_container$(EXE_EXT) \
|
|
test_Concatenate_iterator$(EXE_EXT) \
|
|
test_In_place_list$(EXE_EXT) \
|
|
test_Nested_iterator$(EXE_EXT) \
|
|
test_composition$(EXE_EXT) \
|
|
test_new_binders1$(EXE_EXT) \
|
|
test_stl_extension$(EXE_EXT) \
|
|
test_vector$(EXE_EXT) \
|
|
test_multiset$(EXE_EXT)
|
|
|
|
test_Compact_container$(EXE_EXT): test_Compact_container$(OBJ_EXT)
|
|
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_Compact_container test_Compact_container$(OBJ_EXT) $(LDFLAGS)
|
|
|
|
test_Concatenate_iterator$(EXE_EXT): test_Concatenate_iterator$(OBJ_EXT)
|
|
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_Concatenate_iterator test_Concatenate_iterator$(OBJ_EXT) $(LDFLAGS)
|
|
|
|
test_In_place_list$(EXE_EXT): test_In_place_list$(OBJ_EXT)
|
|
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_In_place_list test_In_place_list$(OBJ_EXT) $(LDFLAGS)
|
|
|
|
test_Nested_iterator$(EXE_EXT): test_Nested_iterator$(OBJ_EXT)
|
|
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_Nested_iterator test_Nested_iterator$(OBJ_EXT) $(LDFLAGS)
|
|
|
|
test_composition$(EXE_EXT): test_composition$(OBJ_EXT)
|
|
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_composition test_composition$(OBJ_EXT) $(LDFLAGS)
|
|
|
|
test_new_binders1$(EXE_EXT): test_new_binders1$(OBJ_EXT)
|
|
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_new_binders1 test_new_binders1$(OBJ_EXT) $(LDFLAGS)
|
|
|
|
test_stl_extension$(EXE_EXT): test_stl_extension$(OBJ_EXT)
|
|
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_stl_extension test_stl_extension$(OBJ_EXT) $(LDFLAGS)
|
|
|
|
test_vector$(EXE_EXT): test_vector$(OBJ_EXT)
|
|
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_vector test_vector$(OBJ_EXT) $(LDFLAGS)
|
|
|
|
test_multiset$(EXE_EXT): test_multiset$(OBJ_EXT)
|
|
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_multiset test_multiset$(OBJ_EXT) $(LDFLAGS)
|
|
|
|
clean: \
|
|
test_Compact_container.clean \
|
|
test_Concatenate_iterator.clean \
|
|
test_In_place_list.clean \
|
|
test_Nested_iterator.clean \
|
|
test_composition.clean \
|
|
test_new_binders1.clean \
|
|
test_stl_extension.clean \
|
|
test_vector.clean \
|
|
test_multiset.clean
|
|
|
|
#---------------------------------------------------------------------#
|
|
# suffix rules
|
|
#---------------------------------------------------------------------#
|
|
|
|
.C$(OBJ_EXT):
|
|
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) $<
|
|
|