5 default_CONFIG = CONFIG_OPEN_LOOP=n CONFIG_LOCK_CHECKING=n
7 config_include_HEADERS = robot_config.h
8 robot_config_DEFINES = CONFIG_OPEN_LOOP CONFIG_LOCK_CHECKING
10 bin_PROGRAMS += robomain
11 robomain_SOURCES = main.cc fsmmain.c
13 # Library with general support functions for the robot
14 lib_LIBRARIES += robot
15 robot_SOURCES = robot_orte.c servos.c robot.c fsmmove.cc \
16 movehelper.cc fsmdisplay.c map_handling.c
17 robot_GEN_SOURCES = roboevent.c
18 include_GEN_HEADERS += roboevent.h
20 include_HEADERS += robot.h servos.h movehelper.h robot_orte.h actuators.h
22 lib_LIBRARIES += actlib
23 actlib_SOURCES = actuators.c
25 # Libraries linked to all programs in this Makefile
26 lib_LOADLIBES = robot mcl robomath roboorte robottype robottype \
27 pthread rt m orte pathplan sharp map fsm uoled oledlib \
28 rbtree motion robodim sercom
30 # Automatic generation of event definition files
31 include-pass_HOOKS = roboevent.c roboevent.h
33 roboevent.c roboevent.h: $(SOURCES_DIR)/roboevent.py $(SOURCES_DIR)/../fsm/eventgen.py
34 @$(QUIET_CMD_ECHO) " EVENTGEN roboevent"
35 $(Q)python $(SOURCES_DIR)/../fsm/eventgen.py $<
38 $(Q)rm -f roboevent.c roboevent.h