-ifneq ($(wildcard $(SOURCES_DIR)/Standalone.mk),)
-# Standalone make outside of OCERA framework
-
-all: default
-
-.PHONY: dep default subdirs clean cleandepend
-.PHONY: check-dir include-pass library-pass binary-pass utils-pass kernel-lib-pass kernel-pass
-
-dirs = src utils
-
-default dep clean install utils-pass kernel-pass:
- $(foreach dir, $(dirs), $(MAKE) -C $(SOURCES_DIR)/$(dir) \
- SOURCES_DIR=$(SOURCES_DIR)/$(dir) $@ ; )
-
+ifeq ($(MAKERULES_DIR),)
+all : default
+.DEFAULT::
+ @echo -e "\nThe Makefile.rules has not been found in this or partent directory\n"