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