]> rtime.felk.cvut.cz Git - can-benchmark.git/blob - rtems/gw/Makefile
Adds app_def header, which defines symbols for cond. compiling.
[can-benchmark.git] / rtems / gw / Makefile
1 # Generic directory or leaf node makefile for OCERA make framework
2
3 ifndef MAKERULES_DIR
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 ) )
5 endif
6
7 ifeq ($(MAKERULES_DIR),)
8 all : default
9 .DEFAULT::
10         @echo -e "\nThe Makefile.rules has not been found in this or parent directory\n"
11 else
12 include $(MAKERULES_DIR)/Makefile.rules
13 endif
14