freebsd-ports/x11-clocks/wmtimer/files/patch-wmtimer::Makefile
Mario Sergio Fujikawa Ferreira 9174a25352 - chase distfile checksum
- changes from Author Josh King <jking@dwave.net>:
"Hello, I have added Multi-threaded support to allow the clock,
timer and chronograph to keep going while the configure window is
up.  There have been a couple small changes to the dockapp to make
the characters 'I' and ':' appear better and there has been a major
rewrite/cleanup of the code."

Submitted by:	MAINTAINER
2001-09-30 20:59:04 +00:00

27 lines
796 B
Text

--- Makefile.orig Sat Sep 29 12:35:39 2001
+++ Makefile Sat Sep 29 12:37:20 2001
@@ -1,19 +1,19 @@
-LIBDIR = -L/usr/X11R6/lib -L/usr/lib
-LIBS = -lXpm -lXext -lX11 -lm `gtk-config --libs` -lpthread
+LIBDIR = -L${X11BASE}/lib -L${LOCALBASE}/lib
+LIBS = -lXpm -lXext -lX11 -lm `${GTK_CONFIG} --libs` ${PTHREAD_LIBS}
-CFLAGS = -g -I/usr/X11R6/include `gtk-config --cflags`
+CFLAGS += -I${X11BASE}/include `${GTK_CONFIG} --cflags` ${PTHREAD_CFLAGS}
OBJS = wmtimer.o \
../wmgeneral/wmgeneral.o \
../wmgeneral/misc.o \
../wmgeneral/list.o
.c.o:
- $(CC) -c -O2 -Wall $< -o $*.o $(CFLAGS)
+ $(CC) -c $< -o $*.o $(CFLAGS)
all: wmtimer
wmtimer: $(OBJS)
- $(CC) -Wall -g -o wmtimer $^ $(LIBDIR) $(LIBS)
+ $(CC) -o wmtimer $^ $(LIBDIR) $(LIBS)
clean::
for i in $(OBJS) ; do \