dockapps/wmtime/wmtime/Makefile
Doug Torrance 2ca71dc449 wmtime - increase version number to 1.1
Enough patches have been made over the years to the wmtime Debian
package that I have decided to incorporate these changes into
an official upstream release.

Some updates to the documentation have been made to reflect the
changes.
2013-10-13 22:49:38 +01:00

25 lines
No EOL
506 B
Makefile
Executable file

LIBDIR = -L/usr/X11R6/lib
LIBS = -lXpm -lXext -lX11 -lm
OBJS = wmtime.o \
../wmgeneral/wmgeneral.o \
../wmgeneral/misc.o \
../wmgeneral/list.o
XPMS = wmtime-master.xpm wmtime-mask.xbm
CC = gcc
CFLAGS += -O2
.c.o:
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -c -Wall $< -o $*.o
wmtime: $(OBJS) $(XPMS)
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o wmtime $(OBJS) $(LIBDIR) $(LIBS)
clean::
for i in $(OBJS) ; do \
rm $$i; \
done
rm wmtime
install:: wmtime
install -m 755 wmtime $(DESTDIR)/usr/bin