51f3c7f3c6
From Arthur H. Johnson II <arthur@linuxbox.nu>. Somewhat cleaned up by me. This is a very nice clock that runs in the WindowMaker "dock". Either digital or analog clock faces can be specified.
31 lines
701 B
Plaintext
31 lines
701 B
Plaintext
$OpenBSD: patch-wmtime_Makefile,v 1.1.1.1 2000/12/26 18:22:14 naddy Exp $
|
|
--- wmtime/Makefile.orig Tue May 19 23:04:53 1998
|
|
+++ wmtime/Makefile Tue Dec 26 19:02:32 2000
|
|
@@ -1,18 +1,23 @@
|
|
-LIBDIR = -L/usr/X11R6/lib
|
|
+LIBDIR = -L${X11BASE}/lib
|
|
LIBS = -lXpm -lXext -lX11 -lm
|
|
OBJS = wmtime.o \
|
|
../wmgeneral/wmgeneral.o \
|
|
../wmgeneral/misc.o \
|
|
../wmgeneral/list.o
|
|
|
|
+all: wmtime
|
|
+
|
|
.c.o:
|
|
- cc -c -O2 -Wall $< -o $*.o
|
|
+ $(CC) $(CFLAGS) -I$(X11BASE)/include -c $< -o $@
|
|
|
|
wmtime: $(OBJS)
|
|
- cc -o wmtime $^ $(LIBDIR) $(LIBS)
|
|
+ $(CC) -o wmtime $(OBJS) $(LIBDIR) $(LIBS)
|
|
|
|
clean::
|
|
for i in $(OBJS) ; do \
|
|
rm $$i; \
|
|
done
|
|
rm wmtime
|
|
+
|
|
+install:
|
|
+ ${BSD_INSTALL_PROGRAM} wmtime ${PREFIX}/bin
|