diff -Naur DRAWxtl-o/source/DRAWshell43/Makefile DRAWxtl/source/DRAWshell43/Makefile --- DRAWxtl-o/source/DRAWshell43/Makefile 2007-10-30 14:33:31.000000000 +0100 +++ DRAWxtl/source/DRAWshell43/Makefile 2007-10-30 14:13:37.000000000 +0100 @@ -34,12 +34,12 @@ CXX = g++ # flags for C++ compiler: - OPTIM = -g -O2 -Wall -Wunused -fno-exceptions - CXXFLAGS = $(OPTIM) -I/usr/X11R6/include + OPTIM = $(CFLAGS) -Wall -Wunused -fno-exceptions + CXXFLAGS = $(OPTIM) -I/usr/X11R6/include -I/usr/include/fltk-1.1/ # libraries to link with: GLDLIBS = -L/usr/X11R6/lib -lglut -lGLU -lGL -lXinerama -lXft -lpthread -lm -lXext -lX11 -lXpm - LINKFLTKGL = -L$(libdir) -lfltk_gl -lfltk + LINKFLTKGL = -L$(libdir) -lfltk_gl -lfltk -L/usr/lib/fltk-1.1/ # The extension to use for executables... EXEEXT = diff -Naur DRAWxtl-o/source/DRAWxtl43/Makefile DRAWxtl/source/DRAWxtl43/Makefile --- DRAWxtl-o/source/DRAWxtl43/Makefile 2007-10-30 14:33:31.000000000 +0100 +++ DRAWxtl/source/DRAWxtl43/Makefile 2007-10-30 14:09:29.000000000 +0100 @@ -27,7 +27,7 @@ CXX = g++ # flags for C++ compiler: - OPTIM = -g -O -Wunused -fno-exceptions -Wall + OPTIM = $(CFLAGS) -Wunused -fno-exceptions -Wall CXXOPT = $(OPTIM) -I/usr/X11R6/include GLUTlib2 = @@ -37,8 +37,8 @@ # standard Linux GLut locations: - GLUTinclude = /usr/local/include - GLUTlib = /usr/local/lib + GLUTinclude = /usr/include + GLUTlib = /usr/lib GLUTcopt = -I$(GLUTinclude) GLUTlib1 = -L$(GLUTlib) -lglut -lGLU -lGL -ldl -lm -L/usr/X11R6/lib -lX11 -lm -lXi # RedHat or Fedora Core users will probably need to uncomment the following line