-ifneq ($(wildcard ./Standalone.mk),)
-# Standalone make outside of OCERA framework
-
-SUBDIRS = src utils
-
-all: default
-
-.PHONY: dep default subdirs clean cleandepend
-
-dirs = src utils
-
-default dep clean install:
- $(foreach dir, $(dirs), $(MAKE) -C $(dir) $@ ; )
-
-else
-# Build in structure of OCERA framework
-
-TOPDIR = $(LINUX_DIR)
-COMPONENT = CONFIG_OC_LINCAN
-COMPONENT_NAME = lincan
-COMPONENT_TARGETS = default
-
-ifneq ($(wildcard ../../../../ocera.mk),)
-include ../../../../ocera.mk
-
-dirs = src utils
-
-default dep clean install:
- $(foreach dir, $(dirs), $(MAKE) -C $(dir) $@ ; )
-
+ifeq ($(MAKERULES_DIR),)
+all : default
+.DEFAULT::
+ @echo -e "\nThe Makefile.rules has not been found in this or partent directory\n"