i3status/Makefile

33 lines
815 B
Makefile
Raw Normal View History

CFLAGS+=-Wall -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
CFLAGS+=-g
CFLAGS+=-DPREFIX=\"\"
ifeq ($(shell uname),Linux)
CFLAGS+=-DLINUX
endif
2009-02-22 18:56:06 +00:00
# Define this if you want wmiistatus to spit out dzen2-compatible output on stdout
2009-02-22 19:16:48 +00:00
CFLAGS+=-DDZEN
2009-02-22 18:56:06 +00:00
wmiistatus: wmiistatus.o wmiistatus.h
clean:
rm -f *.o
distclean: clean
rm -f wmiistatus
install:
install -m 755 -d $(DESTDIR)/usr/bin
install -m 755 -d $(DESTDIR)/etc/init.d
2008-10-24 19:39:28 +00:00
install -m 755 -d $(DESTDIR)/usr/share/man/man1
install -m 755 wmiistatus $(DESTDIR)/usr/bin/wmiistatus
install -m 755 wmiistatus.init $(DESTDIR)/etc/init.d/wmiistatus
2008-10-07 11:41:10 +00:00
install -m 644 wmiistatus.conf $(DESTDIR)/etc/wmiistatus.conf
2008-10-24 19:39:28 +00:00
install -m 644 wmiistatus.1 $(DESTDIR)/usr/share/man/man1
release:
tar cjf wmiistatus.tar.bz2 *.c *.h *.1 *.conf *.init Makefile
all: wmiistatus