summaryrefslogtreecommitdiff
path: root/misc/wmtunlo/files/patch-Makefile
blob: 2323f5529720e66ac194b990ec00db62152a41d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- Makefile.orig	Fri Nov  7 16:00:13 2003
+++ Makefile	Fri Nov  7 16:01:42 2003
@@ -1,15 +1,15 @@
 
-CFLAGS			= -Wall -Os
-INCS			= -I/usr/X11R6/include/X11
-LIBS			= -L/usr/X11R6/lib -lXpm -lX11 -lXext -lm
+CFLAGS			+= -Wall
+INCS			= -I${LOCALBASE}/include -I${LOCALBASE}/include/X11
+LIBS			= -L${LOCALBASE}/lib -lXpm -lX11 -lXext -lm
 INSTALL_PREFIX	= /usr/local
 
 
 wmtunlo: docklib.o wmtunlo.c mask.h master.h
-	gcc $(CFLAGS) $(INCS) docklib.o wmtunlo.c -o wmtunlo $(LIBS)
+	${CC} $(CFLAGS) $(INCS) docklib.o wmtunlo.c -o wmtunlo $(LIBS)
 
 docklib.o: docklib.c docklib.h
-	gcc $(CFLAGS) $(INCS) -c docklib.c
+	${CC} $(CFLAGS) $(INCS) -c docklib.c
 
 install:
 	cp ./wmtunlo $(INSTALL_PREFIX)/bin