X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/3cc649e34c61f557da885260d5542c805e66b0d8..0892a93dbd694a9fb131af0b42b5691b8f4daa1e:/Makefile diff --git a/Makefile b/Makefile index bbb18a9..b9d7695 100644 --- a/Makefile +++ b/Makefile @@ -2,16 +2,15 @@ # slstatus - suckless status monitor .POSIX: -include os.mk include config.mk REQ = util COM =\ - components/$(OS)/battery \ - components/$(OS)/cpu \ + components/battery\ + components/cpu\ components/datetime\ components/disk\ - components/$(OS)/entropy \ + components/entropy\ components/hostname\ components/ip\ components/kernel_release\ @@ -30,7 +29,7 @@ COM =\ all: slstatus slstatus: slstatus.o $(COM:=.o) $(REQ:=.o) -slstatus.o: slstatus.c slstatus.h arg.h config.h $(REQ:=.h) +slstatus.o: slstatus.c slstatus.h arg.h config.h config.mk $(REQ:=.h) $(COM:=.o): config.mk $(REQ:=.h) config.h: