2001-06-15 05:59:32 -04:00
|
|
|
$OpenBSD: patch-wmtz_Makefile,v 1.2 2001/06/15 09:59:34 wilfried Exp $
|
|
|
|
--- wmtz/Makefile.orig Sun Mar 11 14:57:59 2001
|
|
|
|
+++ wmtz/Makefile Fri Jun 15 11:49:09 2001
|
2001-03-09 03:43:38 -05:00
|
|
|
@@ -1,8 +1,5 @@
|
|
|
|
-CC = gcc
|
|
|
|
-LIBDIR = -L/usr/X11R6/lib
|
|
|
|
+LIBDIR = -L${X11BASE}/lib
|
|
|
|
LIBS = -lXpm -lXext -lX11 -lm
|
|
|
|
-FLAGS = -O2
|
|
|
|
-DESTDIR = /usr/local
|
|
|
|
OBJS = wmtz.o \
|
|
|
|
../wmgeneral/wmgeneral.o \
|
|
|
|
../wmgeneral/misc.o \
|
|
|
|
@@ -10,10 +7,10 @@ OBJS = wmtz.o \
|
|
|
|
|
|
|
|
|
|
|
|
.c.o:
|
2001-06-15 05:59:32 -04:00
|
|
|
- $(CC) -I/usr/X11R6/include $(FLAGS) -c -Wall $< -o $*.o
|
2001-03-09 03:43:38 -05:00
|
|
|
+ $(CC) -I${X11BASE}/include ${CFLAGS} -c $< -o $@
|
|
|
|
|
|
|
|
wmtz: $(OBJS)
|
|
|
|
- $(CC) $(FLAGS) -o wmtz $^ -lXext $(LIBDIR) $(LIBS)
|
|
|
|
+ $(CC) ${CFLAGS} -o $@ ${OBJS} $(LIBDIR) $(LIBS)
|
|
|
|
|
|
|
|
all:: wmtz
|
|
|
|
|