Xinqi Bao's Git

battery: OS split
[slstatus.git] / Makefile
index 00c35c4..85eeaba 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,11 +2,12 @@
 # slstatus - suckless status monitor
 .POSIX:
 
+include os.mk
 include config.mk
 
 REQ = util
 COM =\
-       components/battery\
+       components/$(OS)/battery \
        components/cpu\
        components/datetime\
        components/disk\