--- examples/Makefile	Wed Feb 25 21:21:36 1998
+++ /home/andy/tmp/wrk/examples/Makefile	Mon May  4 18:26:43 1998
@@ -6,15 +6,15 @@
 #
 # use gcc is highly recommended
 
-INCLUDE = -I../include 
+INCLUDE = -I${LOCALBASE}/include -I${X11BASE}/include
 
 JUNK = 
 
-LIBS = -L../lib  -L/usr/X11R6/lib -lEZ ../jpeg/libjpeg.a -lX11 -lXext  -lm  -lc
+LIBS = -L${LOCALBASE}/lib  -L${X11BASE}/lib -lEZ -ljpeg -lX11 -lXext  -lm  -lc
 
 CC= g++ 
 
-CFLAG = -g $(INCLUDE)
+CFLAG = $(INCLUDE)
 
 EXAMPLES= Example1 Example2 Example3 Example4 Example5 Example6\
 	  Example7 Example8 Example9 Example10 Example11 Example12S\
@@ -33,17 +33,14 @@
 clean:
 	$(RM)  $(EXAMPLES)
 
-../lib/libEZ.a:
-	cd ../lib; make all
-
 .c.o:
 	$(CC) $(CFLAG) -c $<
 
 .o:
-	$(CC) $(CFLAG) $<  -o $@  $(LIBS) $(JPEG_LIB)
+	$(CC) $(CFLAG) $<  -o $@  $(LIBS)
 
 .c:
-	$(CC)  $(CFLAG)  $< -o $@  $(LIBS) $(JPEG_LIB)
+	$(CC)  $(CFLAG)  $< -o $@  $(LIBS)
 
 #----------------------------------------------------------------------------------
 
