]> git.sur5r.net Git - i3/i3status/blobdiff - Makefile
Bugfix: Check if the present rate is > 0, not only if it is not set
[i3/i3status] / Makefile
index 0cb662af320723a1e4a12c1cd30ed81d2a08c103..5347ecbae06e653f6b5abe29e844af75b1a1634b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CFLAGS+=-Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
+CFLAGS+=-Wall -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
 CFLAGS+=-g
 CFLAGS+=-DPREFIX=\"\"
 
@@ -6,7 +6,10 @@ ifeq ($(shell uname),Linux)
 CFLAGS+=-DLINUX
 endif
 
-wmiistatus: wmiistatus.o wmiistatus.h config.h config.o
+# Define this if you want wmiistatus to spit out dzen2-compatible output on stdout
+CFLAGS+=-DDZEN
+
+wmiistatus: wmiistatus.o wmiistatus.h
 
 clean:
        rm -f *.o
@@ -24,7 +27,6 @@ install:
        install -m 644 wmiistatus.1 $(DESTDIR)/usr/share/man/man1
 
 release:
-       tar cf wmiistatus.tar *.c *.h *.1 *.conf *.init Makefile
-       bzip2 -9 wmiistatus.tar
+       tar cjf wmiistatus.tar.bz2 *.c *.h *.1 *.conf *.init Makefile
 
 all: wmiistatus