mirror of https://github.com/CGAL/cgal
added a Makefile for MSVC
This commit is contained in:
parent
93a3c24bc9
commit
786f34a38b
|
|
@ -0,0 +1,50 @@
|
|||
# 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 = /prisme/CGAL/CGAL-2.1-I-30/make/makefile_i686_CYGWINNT-4.0-20.1_CL.EXE-12.00.8168
|
||||
include $(CGAL_MAKEFILE)
|
||||
|
||||
|
||||
|
||||
#---------------------------------------------------------------------#
|
||||
# compiler flags
|
||||
#---------------------------------------------------------------------#
|
||||
|
||||
CXXFLAGS = -I./include -I../../include \
|
||||
$(CGAL_CXXFLAGS) \
|
||||
$(LONG_NAME_PROBLEM_CXXFLAGS) \
|
||||
|
||||
|
||||
#---------------------------------------------------------------------#
|
||||
# linker flags
|
||||
#---------------------------------------------------------------------#
|
||||
|
||||
LDFLAGS = $(CGAL_LDFLAGS) \
|
||||
$(LONG_NAME_PROBLEM_LDFLAGS)
|
||||
WINDOW_LDFLAGS = $(CGAL_WINDOW_LDFLAGS)
|
||||
|
||||
#---------------------------------------------------------------------#
|
||||
# target entries
|
||||
#---------------------------------------------------------------------#
|
||||
|
||||
|
||||
|
||||
demo: demo.obj parse.obj
|
||||
$(CGAL_CXX) -o demo demo.obj parse.obj $(WINDOW_LDFLAGS)
|
||||
|
||||
clean:
|
||||
- rm -rf *~ *.obj core tr
|
||||
|
||||
realclean: clean
|
||||
- rm -rf demo
|
||||
|
||||
#---------------------------------------------------------------------#
|
||||
# suffix rules
|
||||
#---------------------------------------------------------------------#
|
||||
|
||||
.C.obj:
|
||||
$(CGAL_CXX) $(CXXFLAGS) -c $<
|
||||
Loading…
Reference in New Issue