jw-pkg/make/topdir.mk

20 lines
300 B
Makefile
Raw Normal View History

SUBDIRS ?= make
2006-05-26 14:07:43 +00:00
local-%:
find . -name $@.mk | \
2006-06-01 09:10:30 +00:00
while read f; do (\
cd `dirname $$f` ;\
2006-05-26 14:07:43 +00:00
rm -f local.mk ;\
2006-06-01 09:10:30 +00:00
ln -s `basename $$f` local.mk ;\
) done
2006-05-26 14:07:43 +00:00
unlocal:
rm -f $(shell find . -name local.mk)
include $(MODDIR)/make/subdirs.mk
distclean:
rm -f $(DISTCLEAN)
clean:
rm -f $(CLEAN)