rules.mk, topdir.mk: Add files

This commit is contained in:
Jan Lindemann 2006-05-26 14:07:43 +00:00 committed by Jan Lindemann
commit cf6dcadcc7
2 changed files with 10 additions and 11 deletions

10
make/topdir.mk Normal file
View file

@ -0,0 +1,10 @@
local-%:
find . -name $@.mk | \
while read f; do \
cd $(dir $$f) ;\
rm -f local.mk ;\
ln -s $(notdir $$f local.mk) ;\
done
unlocal:
rm -f $(shell find . -name local.mk)