mirror of https://github.com/CGAL/cgal
52 lines
1.7 KiB
Makefile
52 lines
1.7 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 = \
|
|
$(CGAL_CXXFLAGS) \
|
|
$(LONG_NAME_PROBLEM_CXXFLAGS) \
|
|
$(DEBUG_OPT)
|
|
|
|
#---------------------------------------------------------------------#
|
|
# linker flags
|
|
#---------------------------------------------------------------------#
|
|
|
|
LIBPATH = \
|
|
$(CGAL_LIBPATH)
|
|
|
|
LDFLAGS = \
|
|
$(LONG_NAME_PROBLEM_LDFLAGS) \
|
|
$(CGAL_QT_LDFLAGS)
|
|
|
|
#---------------------------------------------------------------------#
|
|
# target entries
|
|
#---------------------------------------------------------------------#
|
|
|
|
all: \
|
|
test_qt_version$(EXE_EXT)
|
|
|
|
test_qt_version$(EXE_EXT): test_qt_version$(OBJ_EXT)
|
|
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_qt_version test_qt_version$(OBJ_EXT) $(LDFLAGS)
|
|
|
|
clean: \
|
|
test_qt_version.clean
|
|
|
|
#---------------------------------------------------------------------#
|
|
# suffix rules
|
|
#---------------------------------------------------------------------#
|
|
|
|
.C$(OBJ_EXT):
|
|
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) $<
|
|
|