summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Stapelberg <michael+git@stapelberg.de>2009-01-25 20:50:02 +0100
committerMichael Stapelberg <michael+git@stapelberg.de>2009-01-25 20:50:02 +0100
commit5bdb2a95df7272112df60b42b6025cbceea74b15 (patch)
tree15cf5ad13155541024026ab5459b335213b5951b /Makefile
parent4e19825564552024b1ba701f2bc62f2e38159ab2 (diff)
Make linux-dependant part use #ifdef LINUX
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 88e4062..0cb662a 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,10 @@ CFLAGS+=-Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -W
CFLAGS+=-g
CFLAGS+=-DPREFIX=\"\"
+ifeq ($(shell uname),Linux)
+CFLAGS+=-DLINUX
+endif
+
wmiistatus: wmiistatus.o wmiistatus.h config.h config.o
clean: