mirror of https://github.com/CGAL/cgal
*** empty log message ***
This commit is contained in:
parent
53ea67a0a2
commit
f11b893199
|
|
@ -0,0 +1,55 @@
|
|||
# This is the makefile for compiling the CGAL window library libCGALWin.a.
|
||||
|
||||
#---------------------------------------------------------------------#
|
||||
# include platform specific settings
|
||||
#---------------------------------------------------------------------#
|
||||
# Choose the right include file from the <cgalroot>/make directory.
|
||||
|
||||
CGAL_MAKEFILE = SET_YOUR_CGAL_MAKEFILE_HERE
|
||||
include $(CGAL_MAKEFILE)
|
||||
|
||||
#---------------------------------------------------------------------#
|
||||
# compiler flags
|
||||
#---------------------------------------------------------------------#
|
||||
|
||||
CXXFLAGS = $(CGAL_LIB_CXXFLAGS) -DCGAL_USE_CGAL_HEADERS
|
||||
|
||||
#---------------------------------------------------------------------#
|
||||
# Object files
|
||||
#---------------------------------------------------------------------#
|
||||
|
||||
CGAL_OBJECTS = \
|
||||
_basic$(OBJ_EXT) \
|
||||
_base_window$(OBJ_EXT) \
|
||||
_base_panel$(OBJ_EXT) \
|
||||
_color$(OBJ_EXT) \
|
||||
_file$(OBJ_EXT) \
|
||||
_file_panel$(OBJ_EXT) \
|
||||
_string_manip$(OBJ_EXT) \
|
||||
_window$(OBJ_EXT)
|
||||
|
||||
CGAL_EXTRA_OBJECTS = $(CGAL_WIN_EXTRA_DIR)/_x_basic$(OBJ_EXT)
|
||||
|
||||
#---------------------------------------------------------------------#
|
||||
# target entries
|
||||
#---------------------------------------------------------------------#
|
||||
|
||||
lib: lib_no_install
|
||||
mv $(CGAL_WINLIB) $(CGAL_LIB_DESTINATION)
|
||||
|
||||
lib_no_install: $(CGAL_OBJECTS) $(CGAL_EXTRA_OBJECTS)
|
||||
$(CGAL_LIB_CREATE)$(CGAL_WINLIB) \
|
||||
`ls *$(OBJ_EXT) $(CGAL_EXTRA_OBJECTS) | awk '{for (i=1; i<=NF;++i){printf "$(CGAL_OBJ_PREFIX)";print $$i}}'`\
|
||||
$(CGAL_LIB_LDFLAGS)
|
||||
rm $(CGAL_OBJECTS) $(CGAL_EXTRA_OBJECTS)
|
||||
|
||||
clean:
|
||||
rm -f $(CGAL_WINLIB) $(CGAL_OBJECTS) $(CGAL_EXTRA_OBJECTS)
|
||||
|
||||
#---------------------------------------------------------------------#
|
||||
# suffix rules
|
||||
#---------------------------------------------------------------------#
|
||||
|
||||
.C$(OBJ_EXT):
|
||||
$(CGAL_CXX) $(CXXFLAGS) -o $@ -c $<
|
||||
|
||||
Loading…
Reference in New Issue