Added the makefile for tutorial4

This commit is contained in:
Radu Ursu 2002-01-29 10:01:03 +00:00
parent 0a414cedf4
commit 5b26b74419
1 changed files with 11 additions and 8 deletions

View File

@ -7,6 +7,7 @@
# Choose the right include file from the <cgalroot>/make directory.
# CGAL_MAKEFILE = ENTER_YOUR_INCLUDE_MAKEFILE_HERE
CGAL_MAKEFILE = ~/CGAL-2.4-I-47/make/makefile_sparc_SunOS-5.6_g++-2.95
include $(CGAL_MAKEFILE)
#---------------------------------------------------------------------#
@ -23,7 +24,7 @@ CXXFLAGS = -I../../../../include/ \
#---------------------------------------------------------------------#
LIBPATH = \
$(CGAL_LIBPATH)
$(CGAL_LIB_DIR)
LDFLAGS = \
$(LONG_NAME_PROBLEM_LDFLAGS) \
@ -33,17 +34,19 @@ LDFLAGS = \
# target entries
#---------------------------------------------------------------------#
SOURCES = ../../../../src/Qt_Widget.o ../../../../src/Qt_Widget_tool.o
SOURCES = ../../../../src/Qt_widget/Qt_widget.o \
../../../../src/Qt_widget/Qt_widget_tool.o \
../../../../src/Qt_widget/Qt_widget_view.o
all: second$(EXE_EXT)
all: tut4$(EXE_EXT)
second$(OBJ_EXT): second.C
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) second.C
tut4$(OBJ_EXT): tutorial4.C
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) tutorial4.C
second$(EXE_EXT): second$(OBJ_EXT) $(SOURCES)
$(CGAL_CXX) $(LIBPATH) $(EXE_OPT)second second$(OBJ_EXT) $(SOURCES) $(LDFLAGS)
tut4$(EXE_EXT): tut4$(OBJ_EXT) $(SOURCES)
$(CGAL_CXX) $(EXE_OPT)tutorial4 tutorial4$(OBJ_EXT) $(SOURCES) $(LDFLAGS)
clean: second.clean
#clean: first.clean
#---------------------------------------------------------------------#
# suffix rules