Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] a question about makefile structure

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] a question about makefile structure


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] a question about makefile structure
  • Date: Wed, 05 Dec 2007 09:25:24 +0100



Mahmood NT wrote:
so your question is probably what $(OBJ_EXT) etc is about.
yes


It's similar for the $(EXE_OPT)
The thing is that different compilers have different
options to specify where the generated output goes.

andreas


As CGAL is cross platform we need rules that work for g++
where the object file has the extension .o as well as for
Visual C++ where the extension is .obj
Thanks,


Mahmood NT



----- Original Message ----
From: Andreas Fabri
<>
To:

Sent: Wednesday, December 5, 2007 11:42:24 AM
Subject: Re: [cgal-discuss] a question about makefile structure



Hello,

I guess I don't have to explain the anatomy of a makefile,
so your question is probably what $(OBJ_EXT) etc is about.

As CGAL is cross platform we need rules that work for g++
where the object file has the extension .o as well as for
Visual C++ where the extension is .obj

andreas


Mahmood NT wrote:
Hello,
Can anyone explain what is the meaning of these lines in a CGAL demo
makefile?
voronoi_diagram_2$(OBJ_EXT): voronoi_diagram_2.C \
typedefs.h \
include/Virtual_Voronoi_diagram_2.h \
my_window.moc qt_file_toolbar.moc qt_layers_toolbar.moc

voronoi_diagram_2$(EXE_EXT): voronoi_diagram_2$(OBJ_EXT)
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)voronoi_diagram_2 \
voronoi_diagram_2$(OBJ_EXT) $(LDFLAGS)

Thanks,
Mahmood NT







____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs



Archive powered by MHonArc 2.6.16.

Top of Page