*** Makefile.orig	Wed Jan 13 11:28:43 1999
--- Makefile	Thu Jul 15 11:59:22 1999
***************
*** 5,16 ****
  # If you're not using background pixmaps, remove -lXpm from the LIBS.
  # If your X libraries are somewhere other than /usr/X11/lib, give their
  # location here.
! LIBS	= -L/usr/X11/lib -lXpm -lXext -lX11 -lXmu -lSM -lICE -lm
  
  # If your X includes are not in /usr/include/X11, add their location
  # as a -I option here (excluding the X11 bit).  If you're using I18N
  # and Xlocale, please add -DX_LOCALE.
! CFLAGS = -g -O2 -I/usr/include -I/usr/openwin/include
  
  OBJECTS	= Border.o Buttons.o Channel.o Client.o Config.o Events.o Main.o Manager.o Menu.o Rotated.o Session.o
  
--- 5,16 ----
  # If you're not using background pixmaps, remove -lXpm from the LIBS.
  # If your X libraries are somewhere other than /usr/X11/lib, give their
  # location here.
! LIBS	= -L${X11BASE}/lib -lXpm -lXext -lX11 -lXmu -lSM -lICE -lm
  
  # If your X includes are not in /usr/include/X11, add their location
  # as a -I option here (excluding the X11 bit).  If you're using I18N
  # and Xlocale, please add -DX_LOCALE.
! CFLAGS = -g -O2 -I${X11BASE}/include
  
  OBJECTS	= Border.o Buttons.o Channel.o Client.o Config.o Events.o Main.o Manager.o Menu.o Rotated.o Session.o
  
***************
*** 20,29 ****
  .C.o:
  	$(CCC) -c $(CFLAGS) $<
  
! all:	depend wmx
  
  wmx:	$(OBJECTS)
! 	test -f wmx && mv -f wmx wmx.old || true
  	$(CCC) -o wmx $(OBJECTS) $(LIBS)
  
  depend:
--- 20,30 ----
  .C.o:
  	$(CCC) -c $(CFLAGS) $<
  
! all:	depend
! 	${MAKE} ${MAKE_FLAGS} wmx
  
  wmx:	$(OBJECTS)
! 	mv -f wmx wmx.old > /dev/null 2>&1 || true
  	$(CCC) -o wmx $(OBJECTS) $(LIBS)
  
  depend:
