$OpenBSD: patch-wmtimer_Makefile,v 1.3 2003/12/19 12:22:41 wilfried Exp $
--- wmtimer/Makefile.orig	2001-09-28 21:23:40.000000000 +0200
+++ wmtimer/Makefile	2003-12-19 13:16:12.000000000 +0100
@@ -1,19 +1,19 @@
-LIBDIR = -L/usr/X11R6/lib -L/usr/lib
-LIBS   = -lXpm -lXext -lX11 -lm `gtk-config --libs` -lpthread 
+LIBDIR = -L${X11BASE}/lib
+LIBS   = -lXpm -lXext -lX11 -lm `gtk-config --libs` -pthread 
 
-CFLAGS = -g -I/usr/X11R6/include `gtk-config --cflags` 
+CFLAGS = -I${X11BASE}/include `gtk-config --cflags` -pthread
 OBJS =	wmtimer.o \
 		../wmgeneral/wmgeneral.o \
 		../wmgeneral/misc.o \
 		../wmgeneral/list.o
 
 .c.o:
-	$(CC) -c -O2 -Wall $< -o $*.o $(CFLAGS)
+	$(CC) -c $(CFLAGS) $< -o $*.o
 
 all: wmtimer
 
 wmtimer: $(OBJS)
-	$(CC) -Wall -g -o wmtimer $^ $(LIBDIR) $(LIBS)
+	$(CC) -o $@ $(OBJS) $(LIBDIR) $(LIBS)
 
 clean::
 	for i in $(OBJS) ; do \
