dockapps/wmtime/Makefile
Rodolfo García Peñas (kix) 58f189b9ef wmtime uses wmgeneral
This patch show how to include the wmgeneral in a previous dockapps.

The change is easy, remove the wmgeneral folder an include the
-lwmgeneral in the libraries linking.
2015-08-13 19:35:17 +01:00

29 lines
588 B
Makefile
Executable file

LIBS = -lXpm -lXext -lX11 -lm -lwmgeneral
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)