cgal/Triangulation_2/test/Triangulation_2_constrained/makefile_local

77 lines
2.4 KiB
Plaintext

# 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 = /0/prisme_util/CGAL/CGAL-3.1-I-32/make/makefile_i686_Linux-2.4.20_g++-3.3.2
#CGAL_MAKEFILE = /0/prisme_util/CGAL/CGAL-2.5-I-93/make/makefile_i686_Linux-2.2.18_g++-2.95
include $(CGAL_MAKEFILE)
#---------------------------------------------------------------------#
# compiler flags
#---------------------------------------------------------------------#
CXXFLAGS = \
-I../Triangulation_2/include \
-I../../include \
$(TESTSUITE_CXXFLAGS) \
$(CGAL_CXXFLAGS)\
-pedantic \
-g -DCGAL_NO_CONCEPT_CHECKING
# -DCGAL_NO_DEPRECATED_CODE
#---------------------------------------------------------------------#
# linker flags
#---------------------------------------------------------------------#
CGAL_LDFLAGS = \
$(CGAL_LD_LIBPATH) \
$(CUSTOM_LDFLAGS) \
-lCGAL -lgmpxx -lgmp -lm
LDFLAGS = $(TESTSUITE_LDFLAGS) \
$(CGAL_LDFLAGS)
# $(LONG_NAME_PROBLEM_LDFLAGS) \
#---------------------------------------------------------------------#
# target entries
#---------------------------------------------------------------------#
all: test_const_del_triangulation_2 \
test_constrained_triangulation_2 \
test_const_triang_plus_2
test_constrained_triangulation_2: test_constrained_triangulation_2.o
$(CGAL_CXX) -o test_constrained_triangulation_2 test_constrained_triangulation_2.o $(LDFLAGS)
test_const_del_triangulation_2: test_const_del_triangulation_2.o
$(CGAL_CXX) -o test_const_del_triangulation_2 test_const_del_triangulation_2.o $(LDFLAGS)
test_const_triang_plus_2: test_const_triang_plus_2.o
$(CGAL_CXX) -o test_const_triang_plus_2 test_const_triang_plus_2.o $(LDFLAGS)
clean:
- rm -f *.o *.obj *.exe \
test_constrained_triangulation_2 \
test_const_del_triangulation_2 \
test_const_triang_plus_2 \
core \
T??.triangulation file_tds?
realclean: clean
- rm -f Program* Error* Compiler* error*
#---------------------------------------------------------------------#
# suffix rules
#---------------------------------------------------------------------#
.C.o:
$(CGAL_CXX) $(CXXFLAGS) -c $<