Hi
I have some libraries that require execution with a certain make file. However I am unsure how to extend the makefile to include other .cpp files. I have listed below. Could some-one please explain how to do this, thanks
Code:#---------------------------------------------------------------------# # include platform specific settings #---------------------------------------------------------------------# # Choose the right include file from the <cgalroot>/make directory. # CGAL_MAKEFILE = ENTER_YOUR_INCLUDE_MAKEFILE_HERE include $(CGAL_MAKEFILE) #---------------------------------------------------------------------# # compiler flags #---------------------------------------------------------------------# CXXFLAGS = \ -I../../include \ $(CGAL_CXXFLAGS) \ $(LONG_NAME_PROBLEM_CXXFLAGS) #---------------------------------------------------------------------# # linker flags #---------------------------------------------------------------------# LIBPATH = \ $(CGAL_LIBPATH) LDFLAGS = \ $(LONG_NAME_PROBLEM_LDFLAGS) \ $(CGAL_LDFLAGS) #---------------------------------------------------------------------# # target entries #---------------------------------------------------------------------# all: clean: #---------------------------------------------------------------------# # suffix rules #---------------------------------------------------------------------# .C$(OBJ_EXT): $(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) $< .cpp$(OBJ_EXT): $(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) $<



LinkBack URL
About LinkBacks



Just give me the names of your cpp files, the names of your libraries, and the paths to your include and library directories. What OS are you using? Perhaps I can recommend an IDE.