Rev 143 | Rev 149 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
# its handy to have all rule templates in one place
#
POSTHOOK="$(TOPDIR)/../../scripts/create-symbolic-links.sh"
POSTITEMHOOK="$(TOPDIR)/../../scripts/create-symbolic-links.sh update"
all: $(SYMS)
@for i in $(SUBDIRS); do $(MAKE) -C $$i; done
@if [ "x$(POSTHOOK)" != "x" -a -e "$(POSTHOOK)" -a -x "$(POSTHOOK)" ]; then "$(POSTHOOK)"; fi
clean:
@for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done
@if [ "x$(SYMS)" != "x" ]; then echo -e "\nRemoving $(SYMS)\n"; rm $(SYMS); fi
%.sym: %.symdef
$(TOPDIR)/../../scripts/djboxsym $^ > $@
@if [ "x$(POSTITEMHOOK)" != "x" -a -e "$(POSTITEMHOOK)" -a -x "$(POSTITEMHOOK)" ]; then export MAKE_ITEM=$@; export MAKE_SRC=$^; "$(POSTITEMHOOK)"; fi