2761f9b951
klibc has a target make spotless, this patch makes it possible to clean the whole udev tree and start from scratch.
44 lines
697 B
Makefile
44 lines
697 B
Makefile
# Makefile
|
|
#
|
|
# Copyright (C) 2003 Christophe Varoqui, <christophe.varoqui@free.fr>
|
|
|
|
SUBDIRS = libdevmapper devmap_name multipath multipathd
|
|
|
|
recurse:
|
|
@for dir in $(SUBDIRS); do\
|
|
$(MAKE) -C $$dir ; \
|
|
done
|
|
|
|
recurse_clean:
|
|
@for dir in $(SUBDIRS); do\
|
|
$(MAKE) -C $$dir clean ; \
|
|
done
|
|
|
|
recurse_install:
|
|
@for dir in $(SUBDIRS); do\
|
|
$(MAKE) -C $$dir install ; \
|
|
done
|
|
|
|
recurse_uninstall:
|
|
@for dir in $(SUBDIRS); do\
|
|
$(MAKE) -C $$dir uninstall ; \
|
|
done
|
|
|
|
all: recurse
|
|
@echo ""
|
|
@echo "Make complete"
|
|
|
|
clean: recurse_clean
|
|
@echo ""
|
|
@echo "Make complete"
|
|
|
|
spotless: clean
|
|
|
|
install: recurse_install
|
|
@echo ""
|
|
@echo "Make complete"
|
|
|
|
uninstall: recurse_uninstall
|
|
@echo ""
|
|
@echo "Make complete"
|