]> git.sur5r.net Git - i3/i3status/blob - Makefile
Add code for getting process status (running/not) and load on NetBSD
[i3/i3status] / Makefile
1 CFLAGS+=-Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
2 CFLAGS+=-g
3 CFLAGS+=-DPREFIX=\"\"
4
5 ifeq ($(shell uname),Linux)
6 CFLAGS+=-DLINUX
7 endif
8
9 wmiistatus: wmiistatus.o wmiistatus.h config.h config.o
10
11 clean:
12         rm -f *.o
13
14 distclean: clean
15         rm -f wmiistatus
16
17 install:
18         install -m 755 -d $(DESTDIR)/usr/bin
19         install -m 755 -d $(DESTDIR)/etc/init.d
20         install -m 755 -d $(DESTDIR)/usr/share/man/man1
21         install -m 755 wmiistatus $(DESTDIR)/usr/bin/wmiistatus
22         install -m 755 wmiistatus.init $(DESTDIR)/etc/init.d/wmiistatus
23         install -m 644 wmiistatus.conf $(DESTDIR)/etc/wmiistatus.conf
24         install -m 644 wmiistatus.1 $(DESTDIR)/usr/share/man/man1
25
26 release:
27         tar cf wmiistatus.tar *.c *.h *.1 *.conf *.init Makefile
28         bzip2 -9 wmiistatus.tar
29
30 all: wmiistatus