From: martin f. krafft <madduck@debian.org>
Subject: Fixed Makefiles in examples

diff -urNad libtut-0.0.20070706~/Makefile.gcc-unix libtut-0.0.20070706/Makefile.gcc-unix
--- libtut-0.0.20070706~/Makefile.gcc-unix	2008-02-05 12:23:44.000000000 +0100
+++ libtut-0.0.20070706/Makefile.gcc-unix	2008-02-05 12:23:52.000000000 +0100
@@ -1,5 +1,5 @@
 CXX=g++
-CXXOPTS=-ftemplate-depth-100 -I$(TUT) -Wall -O2 -c -o
+CXXOPTS=-ftemplate-depth-100 -Wall -O2 -c -o
 LNK=g++
 LNKOPTS=-o
 SFX=_gcc_unix
diff -urNad libtut-0.0.20070706~/examples/basic/Makefile.common libtut-0.0.20070706/examples/basic/Makefile.common
--- libtut-0.0.20070706~/examples/basic/Makefile.common	2008-02-05 12:23:44.000000000 +0100
+++ libtut-0.0.20070706/examples/basic/Makefile.common	2008-02-05 12:23:52.000000000 +0100
@@ -1,8 +1,6 @@
 TGT=example$(SFX)
 OBJS=main$(OFX) test_vector$(OFX) test_set$(OFX) test_auto_ptr$(OFX)
 
-HEADERS=../../tut/tut.hpp
-
 all: $(TGT)
 
 clean: 
@@ -11,14 +9,14 @@
 $(TGT): $(OBJS)
 	$(LNK) $(LNKOPTS)$(TGT) $(OBJS)
 
-test_vector$(OFX) : test_vector.cpp $(HEADERS)
+test_vector$(OFX) : test_vector.cpp
 	$(CXX) $(CXXOPTS)test_vector$(OFX) test_vector.cpp 
 
-test_set$(OFX) : test_set.cpp  $(HEADERS)
+test_set$(OFX) : test_set.cpp
 	$(CXX) $(CXXOPTS)test_set$(OFX) test_set.cpp 
 
-test_auto_ptr$(OFX) : test_auto_ptr.cpp $(HEADERS)
+test_auto_ptr$(OFX) : test_auto_ptr.cpp
 	$(CXX) $(CXXOPTS)test_auto_ptr$(OFX) test_auto_ptr.cpp 
 
-main$(OFX) : main.cpp  $(HEADERS)
+main$(OFX) : main.cpp
 	$(CXX) $(CXXOPTS)main$(OFX) main.cpp 
diff -urNad libtut-0.0.20070706~/examples/basic/Makefile.gcc-unix libtut-0.0.20070706/examples/basic/Makefile.gcc-unix
--- libtut-0.0.20070706~/examples/basic/Makefile.gcc-unix	2008-02-05 12:23:44.000000000 +0100
+++ libtut-0.0.20070706/examples/basic/Makefile.gcc-unix	2008-02-05 12:23:52.000000000 +0100
@@ -1,3 +1,3 @@
-TUT=../..
-include ../../Makefile.gcc-unix
+TUT=/usr/include
+include ../Makefile.gcc-unix
 include Makefile.common
diff -urNad libtut-0.0.20070706~/examples/restartable/Makefile.common libtut-0.0.20070706/examples/restartable/Makefile.common
--- libtut-0.0.20070706~/examples/restartable/Makefile.common	2008-02-05 12:23:44.000000000 +0100
+++ libtut-0.0.20070706/examples/restartable/Makefile.common	2008-02-05 12:23:52.000000000 +0100
@@ -1,8 +1,6 @@
 TGT=example$(SFX)
 OBJS=main$(OFX) test_segfaults$(OFX) test_segfaults2$(OFX)
 
-HEADERS=../../tut/tut.hpp ../../tut/tut_restartable.hpp
-
 all: $(TGT)
 
 clean: 
@@ -11,11 +9,11 @@
 $(TGT): $(OBJS)
 	$(LNK) $(LNKOPTS)$(TGT) $(OBJS)
 
-test_segfaults$(OFX) : test_segfaults.cpp $(HEADERS)
+test_segfaults$(OFX) : test_segfaults.cpp
 	$(CXX) $(CXXOPTS)test_segfaults$(OFX) test_segfaults.cpp 
 
-test_segfaults2$(OFX) : test_segfaults2.cpp $(HEADERS)
+test_segfaults2$(OFX) : test_segfaults2.cpp
 	$(CXX) $(CXXOPTS)test_segfaults2$(OFX) test_segfaults2.cpp 
 
-main$(OFX) : main.cpp  $(HEADERS)
+main$(OFX) : main.cpp
 	$(CXX) $(CXXOPTS)main$(OFX) main.cpp 
diff -urNad libtut-0.0.20070706~/examples/restartable/Makefile.gcc-unix libtut-0.0.20070706/examples/restartable/Makefile.gcc-unix
--- libtut-0.0.20070706~/examples/restartable/Makefile.gcc-unix	2008-02-05 12:23:44.000000000 +0100
+++ libtut-0.0.20070706/examples/restartable/Makefile.gcc-unix	2008-02-05 12:23:52.000000000 +0100
@@ -1,3 +1,3 @@
-TUT=../..
-include ../../Makefile.gcc-unix
+TUT=/usr/include
+include ../Makefile.gcc-unix
 include Makefile.common
diff -urNad libtut-0.0.20070706~/examples/shared_ptr/Makefile.common libtut-0.0.20070706/examples/shared_ptr/Makefile.common
--- libtut-0.0.20070706~/examples/shared_ptr/Makefile.common	2007-07-06 20:58:04.000000000 +0200
+++ libtut-0.0.20070706/examples/shared_ptr/Makefile.common	2008-02-05 12:26:50.000000000 +0100
@@ -1,8 +1,6 @@
 TGT=shared_ptr$(SFX)
 OBJS=main$(OFX) test_shared_ptr$(OFX)
 
-HEADERS=../../tut/tut.hpp
-
 all: $(TGT)
 
 clean: 
@@ -11,9 +9,9 @@
 $(TGT): $(OBJS)
 	$(LNK) $(LNKOPTS)$(TGT) $(OBJS)
 
-test_shared_ptr$(OFX) : test_shared_ptr.cpp $(HEADERS)
+test_shared_ptr$(OFX) : test_shared_ptr.cpp
 	$(CXX) $(CXXOPTS)test_shared_ptr$(OFX) test_shared_ptr.cpp 
 
-main$(OFX) : main.cpp $(HEADERS)
+main$(OFX) : main.cpp
 	$(CXX) $(CXXOPTS)main$(OFX) main.cpp 
 
diff -urNad libtut-0.0.20070706~/examples/shared_ptr/Makefile.gcc-unix libtut-0.0.20070706/examples/shared_ptr/Makefile.gcc-unix
--- libtut-0.0.20070706~/examples/shared_ptr/Makefile.gcc-unix	2005-06-22 06:40:03.000000000 +0200
+++ libtut-0.0.20070706/examples/shared_ptr/Makefile.gcc-unix	2008-02-05 12:27:18.000000000 +0100
@@ -1,3 +1,3 @@
-TUT=../..
-include ../../Makefile.gcc-unix
+TUT=/usr/include
+include ../Makefile.gcc-unix
 include Makefile.common
