X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fmainboard%2FMakefile;h=141943f2a83efe982780607ac42995d5e0ebfdce;hp=2b18f2065cbd5726c281f8170cd881418aa3f397;hb=fa8546ea39c7442ad3bf5a822a72a2b50a41045d;hpb=1714f4ee916fca95ce24120ea6e698237913f947 diff --git a/projects/microb2010/mainboard/Makefile b/projects/microb2010/mainboard/Makefile index 2b18f20..141943f 100755 --- a/projects/microb2010/mainboard/Makefile +++ b/projects/microb2010/mainboard/Makefile @@ -3,15 +3,20 @@ 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 +ifeq ($(H),1) +SRC += robotsim.c +endif -ASRC = +ASRC = CFLAGS += -Wall -Werror +ifneq ($(H),1) LDFLAGS = -T ../common/avr6.x +endif ########################################