b3067884bd
ok wilfried@ (MAINTAINER)
27 lines
775 B
Plaintext
27 lines
775 B
Plaintext
$OpenBSD: patch-wmtimer_Makefile,v 1.4 2010/03/25 06:22:41 jasper Exp $
|
|
--- wmtimer/Makefile.orig Wed Mar 24 17:13:52 2010
|
|
+++ wmtimer/Makefile Wed Mar 24 17:15:16 2010
|
|
@@ -1,7 +1,7 @@
|
|
CC = gcc
|
|
-LIBDIR = -L/usr/X11R6/lib -L/usr/lib
|
|
+LIBDIR = -L${X11BASE}/lib
|
|
LIBS = -lXpm -lXext -lX11 -lpthread `pkg-config --libs gtk+-2.0`
|
|
-CFLAGS = `pkg-config --cflags gtk+-2.0`
|
|
+CFLAGS = -I${X11BASE}/include `pkg-config --cflags gtk+-2.0`
|
|
|
|
OBJS = wmtimer.o \
|
|
../wmgeneral/wmgeneral.o \
|
|
@@ -10,10 +10,10 @@ OBJS = wmtimer.o \
|
|
|
|
all: wmtimer
|
|
.c.o:
|
|
- $(CC) -g -c -O2 -Wall $< -o $*.o $(CFLAGS)
|
|
+ $(CC) -c $(CFLAGS) $< -o $*.o
|
|
|
|
wmtimer: $(OBJS)
|
|
- $(CC) -Wall -g -o wmtimer $^ $(LIBDIR) $(LIBS)
|
|
+ $(CC) -o $@ $(OBJS) $(LIBDIR) $(LIBS)
|
|
|
|
install:
|
|
cp wmtimer /usr/local/bin/
|