]> rtime.felk.cvut.cz Git - frescor/fwp.git/commitdiff
Added makefiles to /lib/core/tests
authorMartin <molnam1@fel.cvut.cz>
Wed, 15 Oct 2008 11:41:48 +0000 (13:41 +0200)
committerMartin <molnam1@fel.cvut.cz>
Wed, 15 Oct 2008 11:41:48 +0000 (13:41 +0200)
fwp/lib/core/tests/Makefile [new file with mode: 0644]

diff --git a/fwp/lib/core/tests/Makefile b/fwp/lib/core/tests/Makefile
new file mode 100644 (file)
index 0000000..b22a357
--- /dev/null
@@ -0,0 +1,14 @@
+# Generic directory or leaf node makefile for OCERA make framework
+
+ifndef MAKERULES_DIR
+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 ) )
+endif
+
+ifeq ($(MAKERULES_DIR),)
+all : default
+.DEFAULT::
+       @echo -e "\nThe Makefile.rules has not been found in this or partent directory\n"
+else
+include $(MAKERULES_DIR)/Makefile.rules
+endif
+