$NetBSD: patch-aa,v 1.1.1.1 1999/09/28 08:10:33 fredb Exp $ --- Makefile.orig Sun Sep 26 23:18:49 1999 +++ Makefile Sun Sep 26 23:19:31 1999 @@ -1,9 +1,9 @@ -LIBS = -L/usr/X11/lib -lXext -lX11 -lXmu -lm +LIBS = -Wl,-R,$(X11BASE)/lib -L$(X11BASE)/lib -lXext -lX11 -lXmu -lm CC = gcc CCC = gcc -CFLAGS = -O2 +CFLAGS = -O2 -I$(X11BASE)/include OBJECTS = Border.o Buttons.o Client.o Events.o Main.o Manager.o Rotated.o .c.o: @@ -13,7 +13,7 @@ $(CCC) -c $(CFLAGS) $< wm2: $(OBJECTS) - mv -f wm2 wm2.old >& /dev/null || true + mv -f wm2 wm2.old 2> /dev/null || true $(CCC) -o wm2 $(OBJECTS) $(LIBS) depend: