1 # Generic directory or leaf node makefile for OCERA make framework
4 MAKERULES_DIR
:= $(shell ( old_pwd
="" ; while
[ ! -e Makefile.rules
] ; do if
[ "$$old_pwd" = `pwd` ] ; then exit
1 ; else old_pwd
=`pwd` ; cd
-L ..
2>/dev
/null
; fi
; done
; pwd
) )
7 ifeq ($(MAKERULES_DIR
),)
10 @echo
-e
"\nThe Makefile.rules has not been found in this or parent directory\n"
12 include $(MAKERULES_DIR
)/Makefile.rules