*** empty log message ***

This commit is contained in:
Michael Hoffmann 2001-06-20 11:41:33 +00:00
parent 53ea67a0a2
commit f11b893199
1 changed files with 55 additions and 0 deletions

View File

@ -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 $<