wmmon: wmmon manpage
[dockapps.git] / wmauda-0.3 / Makefile
blob69c4fc16d083a98dd3c86dfa8d2f6b0062f7792d
1 CC ?= gcc
2 CFLAGS ?= -g -pipe
4 PREFIX ?= /usr/local
6 INSTALL_DIR := $(PREFIX)/bin
7 PIXMAP_DIR := $(PREFIX)/share/pixmaps
8 MANPAGE_DIR := $(PREFIX)/share/man/man1
10 CFLAGS += $(shell pkg-config audacious --cflags)
11 LIBS := $(shell pkg-config audacious --libs)
13 OBJS = wmauda.o
14 HEADERS = config.h dock-master.xpm
16 wmauda: $(OBJS) $(HEADERS)
17 $(CC) -o wmauda $(OBJS) $(CFLAGS) $(LIBS)
19 all: wmauda
21 clean:
22 rm -f *.o wmauda
24 install: all
25 install -d $(DESTDIR)$(INSTALL_DIR)
26 install -d $(DESTDIR)$(PIXMAP_DIR)
27 install -d $(DESTDIR)$(MANPAGE_DIR)
28 install -m 0755 wmauda $(DESTDIR)$(INSTALL_DIR)
29 install -m 0644 wmauda.xpm $(DESTDIR)$(PIXMAP_DIR)
30 install -m 0644 wmauda.1 $(DESTDIR)$(MANPAGE_DIR)