Xinqi Bao's Git

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