summaryrefslogtreecommitdiff
path: root/digital/io-hub/src/apbirthday/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io-hub/src/apbirthday/Makefile')
-rw-r--r--digital/io-hub/src/apbirthday/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/digital/io-hub/src/apbirthday/Makefile b/digital/io-hub/src/apbirthday/Makefile
index 1e83e9a9..89458a08 100644
--- a/digital/io-hub/src/apbirthday/Makefile
+++ b/digital/io-hub/src/apbirthday/Makefile
@@ -3,11 +3,12 @@ BASE = ../../../ucoolib
TARGETS = host stm32f4
PROGS = apbirthday
apbirthday_SOURCES = main.cc robot.cc hardware.host.cc hardware.stm32.cc \
+ i2c_queue.cc asserv.cc \
top.cc \
angfsm.host.c angfsm_gen_arm_AI.arm.c \
$(AVR_SOURCES)
-MODULES = hal/gpio hal/uart hal/usb base/proto
+MODULES = utils hal/gpio hal/uart hal/usb hal/i2c base/proto
# Hack mode, include old code from AVR modules.
AVR_MODULES = math/geometry math/fixed
@@ -22,6 +23,10 @@ AVR_SOURCES = $(foreach module,$(AVR_MODULES),$($(subst /,_,$(module))_SOURCES))
INCLUDES += -I$(BASE)/../ai/src/fsm -I.
vpath %.c $(BASE)/../ai/src/fsm
+# Common files.
+INCLUDES += -I../common-cc
+vpath %.cc ../common-cc
+
include $(BASE)/build/top.mk
clean: clean.project