public
Description: bmpanel - lightweight, netwm compliant, x11 panel with desktop switcher, taskbar, systray and clock
Homepage: http://nsf.110mb.com/bmpanel
Clone URL: git://github.com/nsf/bmpanel.git
nsf (author)
Wed Mar 25 21:02:34 -0700 2009
commit  4e209c3b3dca6c92511d25eb2df58d4eb6dba061
tree    1d88a24a34cdfe623a0c9535ad23e476f3ae050b
parent  a37619bb414894f0cfff4886d966ccf0e81c80f2
bmpanel / Makefile
100644 46 lines (33 sloc) 0.839 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
SRCDIR := src
BUILDDIR := .mk/build
 
# included from .mk/config.mk
# CFLAGS :=
LIBS :=
 
# included from $(SRCDIR)/Makefile
TARGETS :=
 
# define in $(SRCDIR)/Makefile
DEPS :=
 
CC := gcc
LD := gcc
 
all: setup srcs
 
clean:
@echo cleaning...
@rm -rf bmpanel
@rm -R $(BUILDDIR)
 
setup:
@mkdir -p $(BUILDDIR) $(patsubst %,$(BUILDDIR)/%,$(SRCDIR))
 
.mk/config.mk:
./configure
 
.PHONY: all setup srcs
 
-include .mk/config.mk
-include $(patsubst %,%/Makefile,$(SRCDIR))
-include $(DEPS)
 
install:
@echo installing bmpanel to $(DESTDIR)$(PREFIX)/bin
@mkdir -p $(DESTDIR)$(PREFIX)/bin
@cp -f bmpanel $(DESTDIR)$(PREFIX)/bin
@chmod 755 $(DESTDIR)$(PREFIX)/bin/bmpanel
@echo installing themes to $(DESTDIR)$(PREFIX)/share/bmpanel
@mkdir -p $(DESTDIR)$(PREFIX)/share/bmpanel
@cp -R themes $(DESTDIR)$(PREFIX)/share/bmpanel
 
srcs: $(TARGETS)