X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fmainboard%2FMakefile;h=2ebfff24ae84da06e199b8ac109201c57f14c799;hp=2b18f2065cbd5726c281f8170cd881418aa3f397;hb=4e7801883ed4076cb14b63a0571467747894c0f8;hpb=1714f4ee916fca95ce24120ea6e698237913f947 diff --git a/projects/microb2010/mainboard/Makefile b/projects/microb2010/mainboard/Makefile index 2b18f20..2ebfff2 100755 --- a/projects/microb2010/mainboard/Makefile +++ b/projects/microb2010/mainboard/Makefile @@ -3,15 +3,21 @@ TARGET = main # repertoire des modules AVERSIVE_DIR = ../../.. -SRC = $(TARGET).c cmdline.c commands_ax12.c commands_gen.c +SRC = $(TARGET).c cmdline.c commands_ax12.c commands_gen.c SRC += commands_cs.c commands_mainboard.c commands_traj.c commands.c SRC += i2c_protocol.c sensor.c actuator.c cs.c ax12_user.c -SRC += strat_utils.c strat_base.c strat.c +SRC += strat_utils.c strat_base.c strat.c strat_corn.c +SRC += strat_db.c +ifeq ($(H),1) +SRC += robotsim.c +endif -ASRC = +ASRC = CFLAGS += -Wall -Werror +ifneq ($(H),1) LDFLAGS = -T ../common/avr6.x +endif ########################################