X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fmainboard%2FMakefile;fp=projects%2Fmicrob2010%2Fmainboard%2FMakefile;h=7eff3cb27d126c837f69125ac4e5d14eab33706e;hp=2b18f2065cbd5726c281f8170cd881418aa3f397;hb=ebfaaedd491e61696cc93b353471be15408d23e4;hpb=99768092f81d0e183b61682e832abd0263472d2d diff --git a/projects/microb2010/mainboard/Makefile b/projects/microb2010/mainboard/Makefile index 2b18f20..7eff3cb 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 +ifneq ($(HOST),avr) +SRC += robotsim.c +endif -ASRC = +ASRC = CFLAGS += -Wall -Werror +ifeq ($(HOST),avr) LDFLAGS = -T ../common/avr6.x +endif ########################################