work on trajectory, update cobboard and ballboard too
[aversive.git] / projects / microb2010 / mainboard / Makefile
index 5867b4e..141943f 100755 (executable)
@@ -3,19 +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_avoid.c strat.c
-SRC += strat_static_columns.c strat_lintel.c
-SRC += strat_column_disp.c strat_building.c strat_scan.c
+SRC += strat_utils.c strat_base.c strat.c
+ifeq ($(H),1)
+SRC += robotsim.c
+endif
 
-ASRC = 
+ASRC =
 
 CFLAGS += -Wall -Werror
-#CFLAGS += -DHOMOLOGATION
-CFLAGS += -DTEST_BEACON
+ifneq ($(H),1)
 LDFLAGS = -T ../common/avr6.x
+endif
 
 ########################################