$OpenBSD: patch-wmmultipop3_Makefile,v 1.2 2002/07/15 07:00:32 wilfried Exp $
--- wmmultipop3/Makefile.orig	Sun May 26 12:43:33 2002
+++ wmmultipop3/Makefile	Sun Jul 14 00:00:02 2002
@@ -1,14 +1,14 @@
-LIBDIR = -L/usr/X11R6/lib
+LIBDIR = -L${X11BASE}/lib
 LIBS   = -lXpm -lXext -lX11
 FLAGS  = -O2
 OBJS   = wmmultipop3.o Pop3Client.o ../wmgeneral/wmgeneral.o ../wmgeneral/misc.o ../wmgeneral/list.o
 
 
 .c.o:
-	cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
+	${CC} -I${X11BASE}/include ${CFLAGS} -c -Wall $< -o $@
 
 wmmultipop3: $(OBJS) 
-	cc $(FLAGS) -o wmmultipop3 $^ -lXext $(LIBDIR) $(LIBS)
+	${CC} -o wmmultipop3 ${OBJS} ${LIBDIR} ${LIBS}
 
 all:: wmmultipop3
 
