summaryrefslogtreecommitdiff
path: root/wm/wm2/patches/patch-aa
blob: 635155a88ba7ab56949c9ce045ec42376424b58a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$NetBSD: patch-aa,v 1.2 2001/08/29 22:41:26 jlam Exp $

--- Makefile.orig	Fri Mar 21 06:12:30 1997
+++ Makefile
@@ -1,9 +1,9 @@
 
-LIBS	=  -L/usr/X11/lib -lXext -lX11 -lXmu -lm
+LIBS	= ${LDFLAGS} -lXext -lX11 -lXmu -lm
 
-CC	= gcc
-CCC	= gcc
-CFLAGS	= -O2
+#CC	= gcc
+#CCC	= gcc
+#CFLAGS	= -O2
 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: