summaryrefslogtreecommitdiff
path: root/sysutils/wmhm/files/patch-ac
blob: 6a88c701a463bae6c494fda1ea3558b97ae90fdd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- Makefile.in.orig	Thu May 18 15:11:57 2000
+++ Makefile.in	Sat Aug 12 00:15:10 2000
@@ -1,11 +1,12 @@
 DEFINES+=       -DHAVE_CONFIG_H
-CFLAGS+=        -O2 -Wall -I/usr/X11R6/include $(DEFINES)
-LDFLAGS+=       -lXpm -lXext -lX11 -L/usr/X11R6/lib -lXpm -lm
+CFLAGS?=	-O2
+CFLAGS+=        -I${X11BASE}/include $(DEFINES)
+LDFLAGS+=       -lXpm -lXext -lX11 -L${X11BASE}/lib -lm
 
 HEADERS=        wmhm.h wmgeneral.h operations.h display.h
 SRCS=           wmhm.c wmgeneral.c operations.c display.c
 
-PREFIX=         /usr/local
+PREFIX?=        /usr/local
 BINDIR=         $(PREFIX)/bin
 MANDIR=         $(PREFIX)/man/man