diff --git a/iocBoot/Makefile b/iocBoot/Makefile
index 252a13709bab25761af481bb547d79945ce50c64..d097ef0ad642616903fb1f6538d6abbca6f6989a 100644
--- a/iocBoot/Makefile
+++ b/iocBoot/Makefile
@@ -1,3 +1,6 @@
 TOP = ..
 include $(TOP)/configure/CONFIG
-include $(TOP)/configure/RULES.iocBoot
+DIRS += $(wildcard *ioc*)
+DIRS += $(wildcard as*)
+include $(EPICS_BASE)/configure/RULES_DIRS
+