summaryrefslogtreecommitdiff
path: root/i/simulotron
diff options
context:
space:
mode:
Diffstat (limited to 'i/simulotron')
-rw-r--r--i/simulotron/src/Makefile.am4
-rw-r--r--i/simulotron/src/comc/Makefile.incl.am5
-rw-r--r--i/simulotron/src/comc/test_comc.cc29
3 files changed, 37 insertions, 1 deletions
diff --git a/i/simulotron/src/Makefile.am b/i/simulotron/src/Makefile.am
index ddf2d78..be13d3b 100644
--- a/i/simulotron/src/Makefile.am
+++ b/i/simulotron/src/Makefile.am
@@ -4,13 +4,15 @@ include socket/Makefile.incl.am
include utils/Makefile.incl.am
include gs/Makefile.incl.am
include aiguillage/Makefile.incl.am
+include comc/Makefile.incl.am
bin_PROGRAMS = simulotron
simulotron_SOURCES = main.cc \
$(socket_S) \
$(gs_message_S) \
$(gs_transmitter_S) \
- $(aiguillage_S)
+ $(aiguillage_S) \
+ $(comc_S)
AM_CXXFLAGS = -g -Wall -W -fmessage-length=0
simulotron_LDADD =
diff --git a/i/simulotron/src/comc/Makefile.incl.am b/i/simulotron/src/comc/Makefile.incl.am
new file mode 100644
index 0000000..7f3212f
--- /dev/null
+++ b/i/simulotron/src/comc/Makefile.incl.am
@@ -0,0 +1,5 @@
+comc_S = comc/comc.cc comc/comc.hh
+
+check_PROGRAMS += test_comc
+test_comc_SOURCES = comc/test_comc.cc \
+ $(comc_S)
diff --git a/i/simulotron/src/comc/test_comc.cc b/i/simulotron/src/comc/test_comc.cc
new file mode 100644
index 0000000..ae38e71
--- /dev/null
+++ b/i/simulotron/src/comc/test_comc.cc
@@ -0,0 +1,29 @@
+/* test_comc.cc - Programme de test pour comc */
+/* Simulotron - Programme de simulation de robot {{{
+ *
+ * Copyright (C) 2005 Nicolas Haller
+ *
+ * Robot APB Team/Efrei 2005.
+ * Web: http://assos.efrei.fr/robot/
+ * Email: robot AT efrei DOT fr
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * }}} */
+int
+main (void)
+{
+ return 0;
+}