]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
Added skeleton for carousel application
authorOndra Vrzal <ondra.vrzal@gmail.com>
Thu, 10 Apr 2008 12:26:53 +0000 (14:26 +0200)
committerOndra Vrzal <ondra.vrzal@gmail.com>
Thu, 10 Apr 2008 12:26:53 +0000 (14:26 +0200)
build/lpceurobot/carousel [new symlink]
src/carousel/Makefile [new file with mode: 0644]
src/carousel/Makefile.omk [new file with mode: 0644]
src/carousel/carousel.c [new file with mode: 0644]

diff --git a/build/lpceurobot/carousel b/build/lpceurobot/carousel
new file mode 120000 (symlink)
index 0000000..83baba3
--- /dev/null
@@ -0,0 +1 @@
+../../src/carousel/
\ No newline at end of file
diff --git a/src/carousel/Makefile b/src/carousel/Makefile
new file mode 100644 (file)
index 0000000..08cf5ff
--- /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
+
diff --git a/src/carousel/Makefile.omk b/src/carousel/Makefile.omk
new file mode 100644 (file)
index 0000000..b4dd107
--- /dev/null
@@ -0,0 +1,6 @@
+# -*- makefile -*-
+
+#bin_PROGRAMS = carousel
+
+carousel_SOURCES = carousel.c
+carousel_LIBS = 
diff --git a/src/carousel/carousel.c b/src/carousel/carousel.c
new file mode 100644 (file)
index 0000000..e69de29