1d92de9867
The dockapp wmtime uses the new version of libdockapp and do not use libwmgeneral. Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
29 lines
586 B
Makefile
Executable file
29 lines
586 B
Makefile
Executable file
LIBS = -lXpm -lXext -lX11 -lm -ldockapp
|
|
OBJS = wmtime.o
|
|
XPMS = wmtime-master.xpm wmtime-mask.xbm
|
|
PREFIX = /usr/local
|
|
BINDIR = $(PREFIX)/bin
|
|
MANDIR = $(PREFIX)/share/man/man1
|
|
INSTALL = install
|
|
|
|
CC = gcc
|
|
CFLAGS = -O2 -Wall
|
|
|
|
.c.o:
|
|
$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $*.o
|
|
|
|
wmtime: $(OBJS) $(XPMS)
|
|
$(CC) $(LDFLAGS) -o wmtime $(OBJS) $(LIBS)
|
|
|
|
clean::
|
|
for i in $(OBJS) ; do \
|
|
rm -f $$i; \
|
|
done
|
|
rm -f wmtime
|
|
|
|
install:: wmtime
|
|
$(INSTALL) -d $(DESTDIR)$(BINDIR)
|
|
$(INSTALL) wmtime $(DESTDIR)$(BINDIR)
|
|
$(INSTALL) -d $(DESTDIR)$(MANDIR)
|
|
$(INSTALL) -m 644 wmtime.1 $(DESTDIR)$(MANDIR)
|