diff options
author | Laslo Hunhold <dev@frign.de> | 2017-09-24 15:33:01 +0200 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2017-09-24 17:20:27 +0200 |
commit | 7246dc4381c6c95454672a5c1aff65a02d6d3747 (patch) | |
tree | 2264b09abf2e57daee396b632573f4b81e47aa59 /Makefile | |
parent | 61e44e894890c1521a01148fbf969cbd4dbb4cae (diff) |
Move components into dedicated subdirectory
This brings us a lot more tidiness.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 42 |
1 files changed, 21 insertions, 21 deletions
@@ -6,25 +6,25 @@ include config.mk REQ = util COM =\ - battery\ - cpu\ - datetime\ - disk\ - entropy\ - hostname\ - ip\ - kernel_release\ - keyboard_indicators\ - load_avg\ - num_files\ - ram\ - run_command\ - swap\ - temperature\ - uptime\ - user\ - volume\ - wifi + components/battery\ + components/cpu\ + components/datetime\ + components/disk\ + components/entropy\ + components/hostname\ + components/ip\ + components/kernel_release\ + components/keyboard_indicators\ + components/load_avg\ + components/num_files\ + components/ram\ + components/run_command\ + components/swap\ + components/temperature\ + components/uptime\ + components/user\ + components/volume\ + components/wifi all: slstatus @@ -39,14 +39,14 @@ config.h: $(CC) -o $@ $(LDFLAGS) $< $(COM:=.o) $(REQ:=.o) $(LDLIBS) .c.o: - $(CC) -c $(CPPFLAGS) $(CFLAGS) $< + $(CC) -o $@ -c $(CPPFLAGS) $(CFLAGS) $< clean: rm -f slstatus slstatus.o $(COM:=.o) $(REQ:=.o) dist: rm -rf "slstatus-$(VERSION)" - mkdir -p "slstatus-$(VERSION)" + mkdir -p "slstatus-$(VERSION)/components" cp -R LICENSE Makefile README config.mk config.def.h \ arg.h slstatus.c $(COM:=.c) $(REQ:=.c) $(REQ:=.h) \ slstatus.1 "slstatus-$(VERSION)" |