mirror of
https://github.com/0intro/wmii
synced 2024-11-25 23:30:24 +03:00
30 lines
938 B
Makefile
30 lines
938 B
Makefile
dall:
|
|
for i in ${DIRS}; do \
|
|
if [ ! -d $$i ]; then echo Skipping nonexistent directory: $$i 1>&2; continue; fi; \
|
|
echo MAKE all ${BASE}$$i/; \
|
|
(cd $$i && ${MAKE} BASE="${BASE}$$i/" all) || exit $?; \
|
|
done
|
|
dclean:
|
|
for i in ${DIRS}; do \
|
|
if [ ! -d $$i ]; then echo Skipping nonexistent directory: $$i 1>&2; continue; fi; \
|
|
echo MAKE clean ${BASE}$$i/; \
|
|
(cd $$i && ${MAKE} BASE="${BASE}$$i/" clean) || exit $?; \
|
|
done
|
|
dinstall:
|
|
for i in ${DIRS}; do \
|
|
if [ ! -d $$i ]; then echo Skipping nonexistent directory: $$i 1>&2; continue; fi; \
|
|
echo MAKE install ${BASE}$$i/; \
|
|
(cd $$i && ${MAKE} BASE="${BASE}$$i/" install) || exit $?; \
|
|
done
|
|
ddepend:
|
|
for i in ${DIRS}; do \
|
|
if [ ! -d $$i ]; then echo Skipping nonexistent directory: $$i 1>&2; continue; fi; \
|
|
echo MAKE depend ${BASE}$$i/; \
|
|
(cd $$i && ${MAKE} BASE="${BASE}$$i/" depend) || exit $?; \
|
|
done
|
|
|
|
all: dall
|
|
clean: dclean
|
|
install: dinstall
|
|
depend: ddepend
|