mirror of https://github.com/CGAL/cgal
70 lines
2.2 KiB
Makefile
70 lines
2.2 KiB
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 =/u/papillon/0/prisme_util/CGAL/CGAL-I/make/makefile_i686_Linux-2.2.18_g++-2.95
|
|
include $(CGAL_MAKEFILE)
|
|
|
|
|
|
#---------------------------------------------------------------------#
|
|
# compiler flags
|
|
#---------------------------------------------------------------------#
|
|
|
|
CXXFLAGS = \
|
|
-g \
|
|
-I../Triangulation_2/include \
|
|
-I../../include \
|
|
$(TESTSUITE_CXXFLAGS) \
|
|
$(CGAL_CXXFLAGS)\
|
|
-g -DCGAL_NO_CONCEPT_CHECKING
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------#
|
|
# linker flags
|
|
#---------------------------------------------------------------------#
|
|
|
|
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 $<
|