LDFLAGS-$(DIR) := -T $(OUTPUTDIR)Libs/acess.ld -rpath-link $(OUTPUTDIR)Libs -L $(OUTPUTDIR)Libs -I /Acess/Libs/ld-acess.so -lld-acess -lc $(OUTPUTDIR)Libs/crtbegin.o $(OUTPUTDIR)Libs/crtend.o
SUB_DIRS = $(wildcard $(DIR)*/rules.mk)
-EXTRA_DEP-$(DIR) += $(OUTPUTDIR)Libs/crtbegin.o $(OUTPUTDIR)Libs/crt0.o $(OUTPUTDIR)Libs/crtend.o
+EXTRA_DEP-$(DIR) += $(OUTPUTDIR)Libs/acess.ld $(OUTPUTDIR)Libs/crtbegin.o $(OUTPUTDIR)Libs/crt0.o $(OUTPUTDIR)Libs/crtend.o
.PHONY: all-$(DIR) clean-$(DIR)
all-$(DIR): $(addprefix all-,$(dir $(SUB_DIRS)))