# -*- makefile -*- SUBDIRS = test default_CONFIG = CONFIG_LOCK_CHECKING=n HAVE_PRIO_INHERIT=y config_include_HEADERS = robot_config.h robot_config_DEFINES = CONFIG_LOCK_CHECKING HAVE_PRIO_INHERIT bin_PROGRAMS += competition competition_SOURCES = competition.cc bin_PROGRAMS += homologation homologation_SOURCES = homologation.cc # Library with general support functions for the robot lib_LIBRARIES += robot robot_SOURCES = robot_orte.c robot.c fsmmove.cc movehelper.cc \ motion-control.cc fsmact.c map_handling.c \ match-timing.c eb2010misc.cc robot_GEN_SOURCES = roboevent.c include_GEN_HEADERS += roboevent.h include_HEADERS += robot.h movehelper.h robot_orte.h actuators.h lib_LIBRARIES += actlib actlib_SOURCES = actuators.c lib_LIBRARIES += cornslib cornslib_SOURCES = corns_configs.c # Libraries linked to all programs in this Makefile lib_LOADLIBES = robot mcl robomath roboorte robottype \ pthread rt m orte pathplan sharp map fsm \ rbtree motion robodim actlib cornslib # Automatic generation of event definition files include-pass_HOOKS = roboevent.c roboevent.h roboevent.c roboevent.h: $(SOURCES_DIR)/roboevent.py $(SOURCES_DIR)/../fsm/eventgen.py @$(QUIET_CMD_ECHO) " EVENTGEN roboevent" $(Q)python $(SOURCES_DIR)/../fsm/eventgen.py $< clean-custom: $(Q)rm -f roboevent.c roboevent.h