mirror of https://github.com/CGAL/cgal
recreate
This commit is contained in:
parent
68ca9c9990
commit
c00e17678f
|
|
@ -1,3 +1,4 @@
|
|||
# Created by the script create_makefile
|
||||
# This is the makefile for compiling a CGAL application.
|
||||
|
||||
#---------------------------------------------------------------------#
|
||||
|
|
@ -5,63 +6,51 @@
|
|||
#---------------------------------------------------------------------#
|
||||
# Choose the right include file from the <cgalroot>/make directory.
|
||||
|
||||
#CGAL_MAKEFILE =$(UTIL)/CGAL/CGAL-2.3-I-76/make/makefile_sparc_SunOS-5.6_g++-3.0.
|
||||
|
||||
# for cygwin
|
||||
#\prisme\CGAL\CGAL-2.1-I-30\make\makefile_i686_CYGWINNT-4.0-20.1_CL.EXE-12.00.8168
|
||||
|
||||
# for others
|
||||
#$(UTIL)/CGAL-I/make/makefile_sparc_SunOS-5.6_eg++-egcs-2.91.66_LEDA
|
||||
#makefile_sparc_SunOS-5.6_eg++-egcs-2.91.66_LEDA
|
||||
#makefile_sparc_SunOS-5.6_g++-2.95.1_LEDA
|
||||
#makefile_sparc_SunOS-5.6_g++-2.95.2_LEDA
|
||||
#makefile_i686_Linux-2.2.7_eg++-egcs-2.91.66_LEDA
|
||||
#makefile_i686_Linux-2.2.7_g++-2.95.1_LEDA
|
||||
#makefile_i686_Linux-2.2.10_g++-2.95.2_LEDA
|
||||
|
||||
# CGAL_MAKEFILE = ENTER_YOUR_INCLUDE_MAKEFILE_HERE
|
||||
include $(CGAL_MAKEFILE)
|
||||
|
||||
# ---------------------------------------------------------------------#
|
||||
#---------------------------------------------------------------------#
|
||||
# compiler flags
|
||||
#----------------------------------------------------------------------#
|
||||
# rajouter CGAL_LOCAL_CXXFLAGS si on veut les packages de Local
|
||||
#---------------------------------------------------------------------#
|
||||
|
||||
CXXFLAGS = -I../../include \
|
||||
$(CGAL_CXXFLAGS) -g
|
||||
# -mcpu=ultrasparc -mtune=ultrasparc \
|
||||
# -B /u/alcor/0/prisme_util/Binutils/SunOS/bin/
|
||||
# -I$(HOME)/Cgal-I/For_Submission/Alpha_shapes_3/include \
|
||||
# for cygwin
|
||||
#'-Iz:\Cgal-2.0\To_submit\Alpha_shapes_2\include' \
|
||||
CXXFLAGS = \
|
||||
-I../../include \
|
||||
$(TESTSUITE_CXXFLAGS) \
|
||||
$(EXTRA_FLAGS) \
|
||||
$(CGAL_CXXFLAGS) \
|
||||
$(LONG_NAME_PROBLEM_CXXFLAGS) \
|
||||
$(DEBUG_OPT)
|
||||
|
||||
# for others
|
||||
#-I$(HOME)/Cgal-2.0/To_submit/Alpha_shapes_2/include \
|
||||
#-mcpu=ultrasparc -mtune=ultrasparc -Wall -W -O2 -DDEBUG
|
||||
#-B /u/alcor/0/prisme_util/Binutils/SunOS/bin/
|
||||
#---------------------------------------------------------------------#
|
||||
# linker flags
|
||||
#---------------------------------------------------------------------#
|
||||
|
||||
LIBPATH = $(CGAL_LIBPATH)
|
||||
LIBPATH = \
|
||||
$(TESTSUITE_LIBPATH) \
|
||||
$(CGAL_LIBPATH)
|
||||
|
||||
LDFLAGS = $(CGAL_WINDOW_LDFLAGS)
|
||||
LDFLAGS = \
|
||||
$(TESTSUITE_LDFLAGS) \
|
||||
$(LONG_NAME_PROBLEM_LDFLAGS) \
|
||||
$(CGAL_LDFLAGS)
|
||||
|
||||
#---------------------------------------------------------------------#
|
||||
# target entries
|
||||
#---------------------------------------------------------------------#
|
||||
|
||||
all: test_alpha$(EXE_EXT) test_weight$(EXE_EXT)
|
||||
all: \
|
||||
test_alpha$(EXE_EXT) \
|
||||
test_weight$(EXE_EXT)
|
||||
|
||||
test_alpha$(EXE_EXT): test_alpha$(OBJ_EXT)
|
||||
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_alpha test_alpha$(OBJ_EXT) $(LDFLAGS)
|
||||
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_alpha test_alpha$(OBJ_EXT) $(LDFLAGS)
|
||||
|
||||
test_weight$(EXE_EXT): test_weight$(OBJ_EXT)
|
||||
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_weight test_weight$(OBJ_EXT) $(LDFLAGS)
|
||||
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)test_weight test_weight$(OBJ_EXT) $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
\rm -f *.o *.obj *.exe \
|
||||
test_alpha$(EXE_EXT) test_weight$(EXE_EXT) \
|
||||
core
|
||||
clean: \
|
||||
test_alpha.clean \
|
||||
test_weight.clean
|
||||
|
||||
#---------------------------------------------------------------------#
|
||||
# suffix rules
|
||||
|
|
@ -70,5 +59,3 @@ clean:
|
|||
.C$(OBJ_EXT):
|
||||
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) $<
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue