summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2022-06-20 19:54:29 +0000
committerstkhan <personal@slickd.xyz>2022-06-20 19:54:29 +0000
commit4c40a4dc245f7715f4891ed02d71475628e7a959 (patch)
treefa52419490b5a0d89d746f6e3a0b0c1e675b7726 /Makefile
parent513b0e238b98f72a01d740a0bd99a3739918645c (diff)
new directory structure
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile36
1 files changed, 7 insertions, 29 deletions
diff --git a/Makefile b/Makefile
index 5acf9fd..7a79ebd 100644
--- a/Makefile
+++ b/Makefile
@@ -17,47 +17,25 @@ config:
@echo "Run make to compile sarc"
sarc: clean
./scripts/cp.sh
- make -C $(DWM)
- make -C $(ST)
- make -C $(DMENU)
- make -C surf
- make -C dwmblocks
- make -C nsxiv
- make -C tabbed
- make -C farbfeld
- make -C wmname
+ make wm -C wm
+ make utils -C utils
rm -rf colors.h
@echo
@echo "Finished! Run make install to install"
c: clean
cfg: config
install:
- make install -C $(DWM)
- make install -C $(ST)
- make install -C $(DMENU)
- make install -C surf
- make install -C dwmblocks
- make install -C nsxiv
- make install -C tabbed
- make install -C farbfeld
- make install -C wmname
+ make install-wm -C wm
+ make install-utils -C utils
install scripts/sarc.sh /usr/local/bin
install scripts/fehbg /usr/local/bin
mkdir -p $(PREFIX)/share/doc/sarc
cp sarc.1 $(MANPREFIX)/man1/
@echo
clean:
- make clean -C $(DWM)
- make clean -C $(ST)
- make clean -C $(DMENU)
- make clean -C surf
- make clean -C nsxiv
- make clean -C tabbed
- make clean -C dwmblocks
- make clean -C farbfeld
- make clean -C wmname
- make clean -C scroll-0.1
- rm -rf scripts/gip colors.h
+ make clean-wm -C wm
+ make clean-utils -C utils
+ rm -rf colors.h
part:
./scripts/cp.sh
cleanp: clean