acosail_dwm/Makefile
2022-12-02 16:22:44 +08:00

27 lines
482 B
Makefile

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
.PHONY : all $(libraries)
all : $(libraries)
$(libraries) :
$(MAKE) -C $@
install:
rm -fr ./_install && true
mkdir ./_install
echo "${INSTALL_PATH}"
$(foreach dir,$(libraries), DESTDIR=${INSTALL_PATH} $(MAKE) -C $(dir) install;)
clean :
$(foreach dir,$(libraries),$(MAKE) -C $(dir) clean;)