2022-12-02 16:22:44 +08:00
|
|
|
dmenu := dmenu-5.2
|
|
|
|
dwm := dwm-6.4
|
|
|
|
scroll := scroll-0.1
|
|
|
|
st := st-0.9
|
|
|
|
wmname:= wmname-0.1
|
|
|
|
|
|
|
|
libraries := $(dmenu) $(dwm) $(scroll) $(st) $(wmname)
|
|
|
|
|
|
|
|
# INSTALL_PATH := $(PWD)/_install
|
2022-12-06 16:28:05 +08:00
|
|
|
# export DESTDIR=${INSTALL_PATH}
|
2022-12-02 16:22:44 +08:00
|
|
|
|
|
|
|
.PHONY : all $(libraries)
|
|
|
|
|
|
|
|
|
|
|
|
all : $(libraries)
|
|
|
|
|
|
|
|
|
|
|
|
$(libraries) :
|
|
|
|
$(MAKE) -C $@
|
|
|
|
|
|
|
|
install:
|
2022-12-06 16:28:05 +08:00
|
|
|
# rm -fr ./_install && true
|
|
|
|
# mkdir ./_install
|
|
|
|
echo "${DESTDIR}"
|
|
|
|
$(foreach dir,$(libraries), $(MAKE) -C $(dir) install;)
|
2022-12-02 16:22:44 +08:00
|
|
|
|
|
|
|
clean :
|
2022-12-06 16:28:05 +08:00
|
|
|
$(foreach dir,$(libraries), $(MAKE) -C $(dir) clean;)
|